Quiztoon Posted January 20, 2012 Share Posted January 20, 2012 Hi, Is there any way we can remove the prices showing when in catalogue mode. If not can we change the price so that it says POA for price on application. Thanks in advance :) Quote Link to comment Share on other sites More sharing options...
Quiztoon Posted January 24, 2012 Author Share Posted January 24, 2012 Anyone have any ideas at all ?? Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted January 24, 2012 Share Posted January 24, 2012 Since you haven't received an answer, and I surely can't help, you might post in the 3rd party forum and see if someone there can help. You may have to pay for the help, though. Quote Link to comment Share on other sites More sharing options...
bsmither Posted January 24, 2012 Share Posted January 24, 2012 I see at least two parts that need to be changed <strong>if</strong> we can simply modify a feature: admin screen Store Settings, Features tab, "Hide prices until logged in". Should you accept the premise that you want catalogue mode to not show prices under any circumstances (not just when a visitor is not logged in), we can use this feature. However, this feature shows (1) $X.XX instead of the actual price and (2) the phrase "Login to view price" instead of the Add to Basket button. So, the second part is finding all the logic that decides which to show and change what it shows. Part one is here -- in the file classestax.class.php around line 38, remove just this part: !User::getInstance()->is() Part two appears to be controlled in the skin. In the skin file content.product.php, find the section that resembles: {if ($CTRL_ALLOW_PURCHASE) && (!$CATALOGUE_MODE)} <p class="buy_button;"> <input name="quantity" value="1" class="quantity" required="" type="text"> <input name="add" value="{$PRODUCT.product_id}" type="hidden"> <input value="{$LANG.catalogue.add_to_basket}" class="button_white" type="submit"> </p> {else} {if $CTRL_HIDE_PRICES} <p class="buy_button"><strong>{$LANG.catalogue.login_to_view}</strong></p> {else if $CTRL_OUT_OF_STOCK} <p class="buy_button"><strong>{$LANG.catalogue.out_of_stock}</strong></p> {/if} {/if} (2) We can try deleting (or commenting) this part: <p class="buy_button">{$LANG.catalogue.login_to_view} (1) The X.XX can be changed in the admin screen, Languages, Your_Language, Catalogue group, 'price_hidden'. Apparently, HTML tags are permitted, so you could change this to <span class="required-error">CALL!</span>. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.