Jump to content

Recommended Posts

Posted

I have just upgraded to latest version (6.5.5) from 6.5.3 (Customised Basix template).

I knew i needed to make some edits for customisations but I'm hitting a few issues this time around.

I've checked out other threads on this but i must be missing something. Have tried clearing the cache.

  1. I need to edit it so products with a $0.00 price will instead display as "Call for a price".  Its currently displaying as $0.00 + GST. This is the correct format for other products with a price (I.e. $15.95 + GST)
  2. The Minimum quantity is showing as %1$s instead of specifying the min qty required.

Example of one of the products with this error.

https://mplastics.com.au/school-furniture-large-drawer.html

Any help would be much appreaciated. Thanks!

Posted

For 2 above, make this edit:

In element.product.call_to_action.php

From:

  <div class="text-muted"><small>{$LANG.catalogue.min_purchase_quantity|replace:'%s':$PRODUCT.minimum_quantity}</small></div>
{/if}
{if $PRODUCT.maximum_quantity gte $PRODUCT.minimum_quantity}
  <div class="text-muted"><small>{$LANG.catalogue.max_purchase_quantity|replace:'%s':$PRODUCT.maximum_quantity}</small></div>

To:

 <div class="text-muted"><small>{sprintf($LANG.catalogue.min_purchase_quantity,$PRODUCT.minimum_quantity)}</small></div>
{/if}
{if $PRODUCT.maximum_quantity gte $PRODUCT.minimum_quantity}
  <div class="text-muted"><small>{sprintf($LANG.catalogue.max_purchase_quantity,$PRODUCT.maximum_quantity}</small></div>

 

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...