hellykun Posted February 24, 2014 Share Posted February 24, 2014 Hello everyone, I would like someone to point me on the file that handles the (show price) in a product page (for combinations with specific price). Specifically, as I understand the file that handles the show price is the product.tpl and the code <p class="our_price_display"> {if $priceDisplay >= 0 && $priceDisplay <= 2} <span id="our_price_display"><font color = "green"> Web Price: </font> {convertPrice price=$productPrice}</span> <!--{if $tax_enabled && ((isset($display_tax_label) && $display_tax_label == 1) OR !isset($display_tax_label))} {if $priceDisplay == 1}{l s='tax excl.'}{else}{l s='tax incl.'}{/if} {/if}--> {/if} </p> The problem is that I have done a small change in the <span id="our_price_display"> </span> but this change is not present when the product has combinations with specific prices. Could anyone point me to the file that shows the product price for combinations in the product page? Thanks a lot in advance. Link to comment Share on other sites More sharing options...
innercode Posted February 24, 2014 Share Posted February 24, 2014 You should look for product.js file. It should be in your theme's js directory. Link to comment Share on other sites More sharing options...
hellykun Posted February 24, 2014 Author Share Posted February 24, 2014 Thanks a lot innercode. How do I empty the JS cache for prestashop? Thanks a lot. Link to comment Share on other sites More sharing options...
innercode Posted February 24, 2014 Share Posted February 24, 2014 If nothing happens try changing force compile to true first, then refresh the page. If it won't help try to clear your browser cache in your browser settings. 1 Link to comment Share on other sites More sharing options...
hellykun Posted February 24, 2014 Author Share Posted February 24, 2014 Thanks a lot! I have done it! Link to comment Share on other sites More sharing options...
karthiiiiiiiiiik Posted August 4, 2014 Share Posted August 4, 2014 Hi innercode, How to show the unit price for combinations of a product.. Link to comment Share on other sites More sharing options...
lastapril Posted September 6, 2014 Share Posted September 6, 2014 Hello, I have de same trouble and i don´t know how to change it on product.js, can you help. Thanks Carlos Link to comment Share on other sites More sharing options...
silvertrax80 Posted July 27, 2015 Share Posted July 27, 2015 hello, I need to get the specific_price of a combination. I have the array selectedCombination on the change event of the atribute combo, but I don't know to get the specific_price of the customer selection. Can you help me please?? Link to comment Share on other sites More sharing options...
hellykun Posted July 27, 2015 Author Share Posted July 27, 2015 Hey silvertax80 I have this solved here and shared my code. https://www.prestashop.com/forums/topic/438815-product-combinations-quantity-specific-for-combinations-tpl/ hello, I need to get the specific_price of a combination. I have the array selectedCombination on the change event of the atribute combo, but I don't know to get the specific_price of the customer selection. Can you help me please?? 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