jgriff89 Posted August 17, 2015 Share Posted August 17, 2015 (edited) Hi, I'm running Prestashop 1.6.09. I use lots of different customer groups to offer customer specific pricing. All of the groups have a new "fixed price" for products that are a lower price for that customer group. On the front end this is showing as the new fixed price crossed out, then the same new fixed price next to it not crossed out. What I want to do is to show the normal product price for normal customers crossed out then the new fixed price for that customer group next to it. My product-list.tpl file has the following code to show the crossed out / new price: <div class="price_reduction"> {if isset($product.specific_prices.reduction) && $product.specific_prices.reduction_type == 'percentage'} <span class="price-percent-reduction">-{$product.specific_prices.reduction * 100}%</span> {/if} </div> {if (!$PS_CATALOG_MODE AND ((isset($product.show_price) && $product.show_price) || (isset($product.available_for_order) && $product.available_for_order)))} <div class="content_price" itemprop="offers" itemscope itemtype="http://schema.org/Offer"> {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 > 0} {hook h="displayProductPriceBlock" product=$product type="old_price"} <span class="old-price product-price"> {displayWtPrice p=$product.price_without_reduction} </span> {/if} <span itemprop="price" class="product-price {if isset($product.specific_prices) && $product.specific_prices}price_red{else}price_yellow{/if}"> {if !$priceDisplay}{convertPrice price=$product.price}{else}{convertPrice price=$product.price_tax_exc}{/if} </span> <meta itemprop="priceCurrency" content="{$currency->iso_code}" /> {hook h="displayProductPriceBlock" product=$product type="price"} {hook h="displayProductPriceBlock" product=$product type="unit_price"} {/if} </div> {/if} What do I need to add to get this to work?? Thanks, Jgriff Edited August 17, 2015 by jgriff89 (see edit history) Link to comment Share on other sites More sharing options...
shacker Posted August 23, 2015 Share Posted August 23, 2015 iu have a site url to check ? normal price must be crossed for all customers? 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