We are transitioning over to a new forum platform. Please post new issues there. Existing threads will be dealt with here unless you choose to move them over. Visit the new forum
Sort by Price, Using a Comma effects listing
How can I make my filter recognise that £1,234 is more money the £456. Currently my filter sees my prices which have a comma as small numbers.
This is my current code:
<?php perch_content_custom('Products', array( 'template' => 'shop/product_listing.html', 'category' => 'boiler-type', 'sort-order'=>'ASC', 'sort-order'=>'numeric', 'sort'=>'extra1', )); ?>
My product template for price is:
<h3 class="price">£<perch:content id="extra1" type="text" label="Buy from £" required="true" order="9" size="s" /><small> plus VAT</small></h3>
Want to reply to this thread?Login with Perch