Jump to content

How to check if there are any script issues in *.tpl


Recommended Posts

Hello,

In order to modify my PS theme, I make some modifications to *.tpl and *.css files.
I am familiar with HTML and CSS, but I know PHP and scripts just a little bit.
So, when I change the position of divs in *.tpl, sometimes I have to remove them from scripts, “{if}”-s and so on.

For example, the <form id =“buy block”> on “products.tpl”. I want to take out the

out of “buy block” and place it before this block.

When I change the code and reload the page, it looks fine, just as I expected. But I am not sure if scripts still work properly in all cases.

So, is there any way to check if the original code was not broken and still works properly after moving some <*div>-s or <*p>-s inside the *.tpl?
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...