Jgallery Posted May 9, 2015 Share Posted May 9, 2015 Hi Guys,I'm trying to add a countdown window to my product page that is used in the auction module. One of the css files in the auction module mentions "#product #countdown_block", however, I don't know how to place this into the product's description. for a bit of context, here's an extra of the product list that displays countdowns:http://jgauction.com/index.php?id_category=37&controller=categoryI would like to add this to the centre section (before where the bidding amounts are entered) on the product page:http://jgauction.com/index.php?id_product=133&controller=productAny thoughts? Thanks. Link to comment Share on other sites More sharing options...
PascalVG Posted May 10, 2015 Share Posted May 10, 2015 Seems that the module adds some javascript to the product-list.php file (probably by some hook). To do something similar to the product detail page, you have to add some similar hook-code to the appropriate hook in the /modules/<auction module>/<auction module>.php file As far as I see on the product detail page, the auction module already adds the bidding input field to the page, so I expect you can easily add the countdown code of the product list page to this already defined product detail-hook. You may have to add/define some smarty variables that are also given to the product list page as well, so that the product detail page knows them too. If this is all abracadabra for you, Personal message (PM) me, and I can maybe edit the file for you. Shouldn't be too much work, I assume. Cheers, pascal. Link to comment Share on other sites More sharing options...
Jgallery Posted May 11, 2015 Author Share Posted May 11, 2015 Yes I had a quick go at it, but It's stumped me to be honest. I'll drop you a message with the files, thanks! 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