Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
  • Sign Up

Внедрение HTML в карточку товара


Recommended Posts

Здравствуйте, хочу что бы подсказали как  внедрить HTML в карточку товара product.php

<!DOCTYPE html>
<html >
<head>
  <meta charset="UTF-8">
  <title>Daily UI  #016 |  Pop-Up / Overlay</title>
  <link href="https://fonts.googleapis.com/css?family=Nunito:300,400,400i,700" rel="stylesheet">
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css">

  
      <link rel="stylesheet" href="/catalog/model/popup_okno/css/style.css">

  
</head>

<body>
  <a href="#" class='btn open-modal' data-modal="#modal1">Open Modal</a>

<div class='modal' id='modal1'>
	<div class='content'>
		<h1 class='title'>This is a modal</h1>
		<p>
				Here is some text and stuff. cool cool	
		</p>
		<a class='btn close-modal' data-modal="#modal1" href="#">K Bye</a>
	</div>	
</div>
  <script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.0/jquery.min.js'></script>

    <script  src="/catalog/model/popup_okno/js/index.js"></script>

</body>
</html>

 

Edited by EduardSemernya
Link to comment
Share on other sites


1 хвилину назад, losthill сказав:

В файл product.tpl поместите код. Файл со стилями нужно подключить в header.tpl

 

Вставлять только этот код в product.php? 

<body>
  <a href="#" class='btn open-modal' data-modal="#modal1">Open Modal</a>

<div class='modal' id='modal1'>
	<div class='content'>
		<h1 class='title'>This is a modal</h1>
		<p>
				Here is some text and stuff. cool cool	
		</p>
		<a class='btn close-modal' data-modal="#modal1" href="#">K Bye</a>
	</div>	
</div>
  <script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.0/jquery.min.js'></script>

    <script  src="/catalog/model/popup_okno/js/index.js"></script>

</body>

 

я вставлял, почему то 0 изменений. Тут какие то одни пхп коды )))

Знімок екрана 2018-08-26 о 10.15.51.png

Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.