Jump to content

Specific Price Group in product-list


Recommended Posts

Hi all,

i have a problem to show specific and original price in product-list.tpl

 

in my store i have 3 groups of customer and the products have 3 prices for every customer group

 

ex.

Product xy 

 

Price 10€ (in tab price of product) 

This price is for all customer

 

Price 8€

I have set this price in specific price for group "Reseller"

 

Price 5€ 

I have set this price in specific price for group "Wholesalers"

 

In my product-list i have this code:

 
{if (!$PS_CATALOG_MODE AND ((isset($product.show_price) && $product.show_price) || (isset($product.available_for_order) && $product.available_for_order)))}
<div itemprop="offers" itemscope itemtype="http://schema.org/Offer" class="content_price">
{if isset($product.show_price) && $product.show_price && !isset($restricted_country_mode)}
{if isset($product.specific_prices) && $product.specific_prices && isset($product.specific_prices.reduction) && $product.specific_prices.reduction}
{hook h="displayProductPriceBlock" product=$product type="old_price"}
<span class="old-price product-price">
{displayWtPrice p=$product.price_without_reduction}
</span>
{hook h="displayProductPriceBlock" id_product=$product.id_product type="old_price"}
{if $product.specific_prices.reduction_type == 'percentage'}
<span class="price-percent-reduction"><span>-{$product.specific_prices.reduction * 100}%</span></span>
{/if}
{/if}

 

 

When i login in frontend whit an account "Reseller" i view 2 equal price (reseller price) instead of seeing "Original price = 10€" and my discounted specific price group "Reseller", in this case 8€

 

Please help me...

post-137561-0-04273400-1468322776_thumb.jpg

Link to comment
Share on other sites

  • 1 month later...

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