onyxdeal Posted April 7, 2015 Share Posted April 7, 2015 Hi, I purchased the "discount countdown pro" module. I dont have background in programming just a little html.. The module says i need to insert this on a hook {hook h=’productListDiscountCountdown’ product=$product} .. i'm not sure how to do it.. or where i can edit product.tpl.. please help.. thanks Link to comment Share on other sites More sharing options...
moy2010 Posted April 7, 2015 Share Posted April 7, 2015 product.tpl is within your theme's folder. Just open and edit it. Link to comment Share on other sites More sharing options...
onyxdeal Posted April 7, 2015 Author Share Posted April 7, 2015 i downloaded the product.tpl and product-list.tpl file from my hostings file folder and opened it via notepad.. i am not sure thought where to position this code {hook h=’productListDiscountCountdown’ product=$product} i have no idea what i am doing.. haha.. i positioned it just to try if there would be any response on the sites appearance and overwrite my filefolder.. but the countdown timer is still out of site.. i purchased it and i thought it would be easy to use.. ;( 1 Link to comment Share on other sites More sharing options...
Divyesh Prajapati Posted April 7, 2015 Share Posted April 7, 2015 i downloaded the product.tpl and product-list.tpl file from my hostings file folder and opened it via notepad.. i am not sure thought where to position this code {hook h=’productListDiscountCountdown’ product=$product} i have no idea what i am doing.. haha.. i positioned it just to try if there would be any response on the sites appearance and overwrite my filefolder.. but the countdown timer is still out of site.. i purchased it and i thought it would be easy to use.. ;( Are you able to share instruction provided by module here so we can help you further ? Link to comment Share on other sites More sharing options...
moy2010 Posted April 8, 2015 Share Posted April 8, 2015 Which theme are you using? What's your website address? Where do you want to show the countdown? Link to comment Share on other sites More sharing options...
onyxdeal Posted April 21, 2015 Author Share Posted April 21, 2015 here is the instructions: After installation has completed successfully it is necessary to edit your themes product-list.tpl and product.tpl file to call a hook. This hook shortcode allows the module to display the timer in your product list pages and your product detail page and is a simple and short code. Add the following short code to both, your product-list.tpl file and product.tpl template files. Add the code wherever you wish the timer widget to appear: {hook h=’productListDiscountCountdown’ product=$product} my prestashop store is www.riverofdreams.asia i am hoping to have it appear on products and frontpage tia Link to comment Share on other sites More sharing options...
moy2010 Posted April 21, 2015 Share Posted April 21, 2015 Just put that code after any closing tag like "</div>" and you'll be fine . Just make sure that you put it exaclty where you want it to be displayed. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now