stephane_92 Posted June 2, 2014 Share Posted June 2, 2014 hi all, i had modified for hide price before.(i dont remember what i did) now i want to show price but i dont know what i must modify. before reinstalling(if there isnt solution) i hope there are anybody can help me http://diy4vn.com Link to comment Share on other sites More sharing options...
dioniz Posted June 2, 2014 Share Posted June 2, 2014 In product-list.tpl add this code: {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)} <span itemprop="price" class="price product-price"> {if !$priceDisplay}{convertPrice price=$product.price}{else}{convertPrice price=$product.price_tax_exc}{/if} </span> <meta itemprop="priceCurrency" content="{$priceDisplay}" /> {if isset($product.specific_prices) && $product.specific_prices && isset($product.specific_prices.reduction) && $product.specific_prices.reduction > 0} <span class="old-price product-price"> {displayWtPrice p=$product.price_without_reduction} </span> {if $product.specific_prices.reduction_type == 'percentage'} <span class="price-percent-reduction">-{$product.specific_prices.reduction * 100}%</span> {/if} {/if} {/if} </div> {/if} after this code: {if isset($quick_view) && $quick_view} <a class="quick-view" href="{$product.link|escape:'html':'UTF-8'}" rel="{$product.link|escape:'html':'UTF-8'}"> <span>{l s='Quick view'}</span> </a> {/if} Link to comment Share on other sites More sharing options...
S-HAMMANI Posted June 2, 2014 Share Posted June 2, 2014 In BO preferences > product > Catalog Mode = NO 1 Link to comment Share on other sites More sharing options...
dioniz Posted June 2, 2014 Share Posted June 2, 2014 Oh man i forgot about that Time to go to sleep... 1 Link to comment Share on other sites More sharing options...
stephane_92 Posted June 2, 2014 Author Share Posted June 2, 2014 Thanks my friends, after your helps i remember what i modified. That was BO preferences > product > Catalog Mode = Yes. Thanks Hammani and dioniz. In BO preferences > product > Catalog Mode = NO Oh man i forgot about that Time to go to sleep... Link to comment Share on other sites More sharing options...
SOPORTEcolor Posted June 4, 2014 Share Posted June 4, 2014 (edited) Hey mate, I want to show price of my product to my members, but I need to hide price to visitors or followers, someone can help me where I can setup this functionality into PrestaBox... Edited June 4, 2014 by SOPORTEcolor (see edit history) Link to comment Share on other sites More sharing options...
El Patron Posted June 4, 2014 Share Posted June 4, 2014 Hey mate, I want to show price of my product to my members, but I need to hide price to visitors or followers, someone can help me where I can setup this functionality into PrestaBox... back office-->customers-->groups-->(edit a group, visitors) set to not show prices... save now they will need to login to see prices Link to comment Share on other sites More sharing options...
SOPORTEcolor Posted June 4, 2014 Share Posted June 4, 2014 @Patron, I dont have this panel into customer > group ... with show price option, maybe my PrestaBox setup is missing something... Link to comment Share on other sites More sharing options...
Recommended Posts