Page 1 of 1

price range

Posted: 18 Jun 2022, 18:52
by jumper
Hello
How to insert a price range in Phoca Cart, i.e. price from
e.g. from 100 euros

Joomla! 4.1.4 Stable + Phoca Cart 4.0.1 + php 8.0

Re: price range

Posted: 19 Jun 2022, 10:40
by dmlwebal
Hi jumper

Do you mean for this to be in the price field itself? Or as a searchable filter (because that exists already)

Re: price range

Posted: 19 Jun 2022, 14:44
by jumper
in the price field itself
price from
without labels

Re: price range

Posted: 19 Jun 2022, 16:53
by jumper
in settings - "product price is zero" I entered "price from" file .... components / com_phocacart / layouts / product_price.php line 73 "if (isset ($ d ['priceitems'] ['gross']) && $ d ['priceitems'] ['gross55555'] == 0 && isset ($ d ['zero_price']) && $ d ['zero_price'] == 1) {"
anything added and we have, for example, a price from 100 euros
gross55555

it probably can't be like that
ps. Google translator

Re: price range

Posted: 21 Jun 2022, 12:04
by Jan
Can you paste a screenshow of which price range you mean?

Because the one in filter is managed by prices in Phoca Cart - the price from lowest price product and the price from highest price product is just selected.


Jan

Re: price range

Posted: 21 Jun 2022, 13:10
by jumper
[code] [url=https://imgur.com/dHRuUvi][img]http://i.imgur.com/dHRuUvi.jpg[/img][/url] [/code]

" cena od " "price from" with an arrow marked on the image

Re: price range

Posted: 27 Jun 2022, 16:45
by Jan
Hi, if you want to change the only the label "cena" to "cena od" then this can be done in language override feature. Or another way is to make template overrides for parts which you want to change. :idea:

Jan

Re: price range

Posted: 01 Jul 2022, 12:22
by jumper
Thank you JAN topic resolved

Re: price range

Posted: 01 Jul 2022, 16:26
by Jan
Ok