Jump to content

implement php code into product pages or whatever


fitgura

Recommended Posts

Hello!

I 've write a simple bootstrap 4 html + php code to place it into every product page! It means simple <?php mysqli connect + echo'... ?>  between div tags, nothing special...

(Must write a php code because echo the informations from a separated database - what always change)

There is may way to put codes for  a desired hooks (contentbox 1.7, template featured html, css, js solutions)

the problem is php codes not works even html purifier is switched off...

Please if anyone have any idea how to solve this situation, advise me...

Any idea would be appreciated

THX!

Link to comment
Share on other sites

Dear El!

Thanks for your suggestion, but unfortunately {php} functions deprecated in smarty 3 :(

(and wanted to avoid modify the sources like tpl files in our shop...)

finaly looks like I have to convert my php codes to js and call them with ajax...

Right now I have to find out how to do that 😮

Thanks anyway...

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
×
×
  • Create New...