price range

Phoca Cart - complex e-commerce extension
jumper
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 18 Jun 2022, 18:40

price range

Post 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

Tags:
User avatar
dmlwebal
Phoca Professional
Phoca Professional
Posts: 238
Joined: 18 Sep 2019, 12:49

Re: price range

Post 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)
jumper
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 18 Jun 2022, 18:40

Re: price range

Post by jumper »

in the price field itself
price from
without labels
jumper
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 18 Jun 2022, 18:40

Re: price range

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47883
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: price range

Post 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
If you find Phoca extensions useful, please support the project
jumper
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 18 Jun 2022, 18:40

Re: price range

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47883
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: price range

Post 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
If you find Phoca extensions useful, please support the project
jumper
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 18 Jun 2022, 18:40

Re: price range

Post by jumper »

Thank you JAN topic resolved
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47883
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: price range

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply