You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.
Pages: 1
I have some products that range in price from $2.50 to $12.50 and have set the sortprice as 250 and 1250 but the 'Price Range' values are:
$211 - $474
$474 - $737
$737 - $1,000
$1,000 - $1,266
Any ideas what I'm doing wrong?
Offline
Anyone know where to change the Price Values for the Product Price Filter as it isn't with the others?
Offline
HI,
Where do I change the Price Ranges? Currently starts at $1-$499
Mine start at $0 (free stuff) and I'd like to go with
$0-$1
$1-$5
$5-$10
$10-$20
$20-$30
+$30
Thanks,
Jim
Offline
In the file {private}/apps/ecom/ECOM_Prod/ECOM_Prod.php, in the function prodfilter() look for:
$pricemin = floor($result[0]['minsortprice']);
And change to:
$pricemin = 0;
Offline
Hello.
I just noticed an odd situation with the price sorter. I have a category with three products valued at $2, $4 and $24. I checked the back-end product records to make sure that the "Regular Price" was the same as the "Product Sort/Search Price".
The price sorter is showing 4 ranges: $2-$7, $7-12, $12-$17, $17-$24. If you select $7-12, $12-$17 the system produces the "There are no items to display... " message, which is understandable. But why would there be four choices to begin with and two of which are irrelevant? You can see it here: http://brenditasbodyworks.com/shop/Cate … s-Heat-Cap
Thanks.
Offline
I think what happens is there is a default setting in the code that takes the lowest value, and the highest value, then divides by 4 (default) to give 4 price ranges. I could be wrong.
Offline
Thanks for the response. I suppose that's it's a problem only in a situation like mine where there is a combination of products that produces mathematically "illogical" results.
Offline
In the file {private}/apps/ecom/ECOM_Prod/ECOM_Prod.php, in the function prodfilter() look for:
$priceinc = floor($pricerange / 4); $pricecount = 0; while ($pricecount < 4) { $pricecount++; if ($pricecount == 1) {$pricemina = $pricemin;} else {$pricemina = $pricemaxa;} if ($pricecount == 4) {$pricemaxa = $pricemax;}
Change that 4 to whatever you want your sort price to be. I have mine set to 30.
Offline
Line 3873 starts with:
if ($pricerange < 16) { $pricemina = $pricemin; $pricemaxa = $pricemax;
but I don't know what that value of 16 does. I'd also like to know where the $pricemin and $pricemax are defined just so I can see what affect they have if changed. I know the $pricemax is defined on line 3865
Offline
Pages: 1