Jump to content

Product Combination Price


hellykun

Recommended Posts

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

  • 5 months later...
  • 1 month later...
  • 10 months later...

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

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...