Add 'From' Before On Price - Question | JoomShaper
SP Page Builder 6 is Here! Learn More →

Add 'From' Before On Price

DC

Dave Cleworth

EasyStore 8 months ago

Hi

Using a layout override or maybe using Page Builder, is it possible to add 'From' before the price on the storefront (and on any SP Page which uses the EasyStore price add-on)?

The price changes depending on the variants so I would like it to say From £X.XX insead.

Thank you.

0
13 Answers
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 8 months ago #183728

You are welcome 😊

Following MiBa's solution, you can override the view. But if you update EasyStore, then you have to fix it again. Please go to this location:

components/com_easystore/layouts

and replace price_segments.php file with the attached file. You need to unzip the file and then replace.

price_segments.php.zip

It will show like this on the Storefront or Shop page.

prnt.sc/OjE3qZlW-MfD

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 8 months ago #183453

Hello Dave Cleworth,

Thank you for reaching out to our technical support forum. I’m sorry to hear about the trouble you’re experiencing. Rest assured, I will look into this issue for you and work to resolve it as quickly as possible.

You can add Heading or Text Block addon before the price and write Starting From... or anything similar. It would show like this.

The settings on Single SP Page Builder page: prnt.sc/Aby1jjMVVDIc

The front view: prnt.sc/XoTx-l8pLjOU

Best regards

0
DC
Dave Cleworth
Accepted Answer
8 months ago #183476

Thank you, is there a way to add the 'from' in front of the price, rather than above the price? I could potentially add more colums on that 'price' row but I would need to change alignment and padding/margin etc. which is fine - but I wanted to check if there was a better way to suggest.

Thanks

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 8 months ago #183494

It is possible. Take two columns side by side and show Heading + Price horizontally. You might need to adjust the padding and margin of the addons and columns to make it look good.

0
DC
Dave Cleworth
Accepted Answer
8 months ago #183496

Hi, I have tried a little but it doesn't really give the desired effect, it looks messy. Also I have resorted to your initial suggestion of adding a text block above the price, but saving the text block has no effect. It just reverts back to the dummy text of the text block?? The toast notification says it has saved but it doesn't save the changes to the text block.

Please could you login and check for yourself. It is the Storefront I am attempting to edit.

Edit: I was using PageBuilder 5.5.0 and have since installed 5.5.1 but it still won't save changes. Regular PageBuilder pages seem to save changes okay, but not EasyStore pages.

Thank you

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 8 months ago #183664

I have checked. Sorry, it is not possible to add any text in the Shop page.

0
DC
Dave Cleworth
Accepted Answer
8 months ago #183665

Okay, thanks for checking Ofi

Is there a way I can add 'From' by way of a layout/template override then please?

Thanks

0
MiBa
MiBa
Accepted Answer
8 months ago #183716

components\com_easystore\layouts\price_segments.php Line 25

https://prnt.sc/T-UtQR9pEACA

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 8 months ago #183727

Thank you MiBa for your solution.

0
DC
Dave Cleworth
Accepted Answer
8 months ago #183760

That's perfect!!

The only problem is, that is also changes the price on the 'Quick Add' screen, see below. Is there a way to NOT add 'From' to that template please?

https://prnt.sc/cM3MdO-81B_B

Thank you

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 8 months ago #183784

Sorry, it is not possible to remove the text from Quick Add screen.

0
DC
Dave Cleworth
Accepted Answer
8 months ago #183792

Okay, thanks anyway, I may be able to hide the 'From' if I wrap it in a span class and apply some CSS just for the 'Quick Add' code.

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 8 months ago #183890

You are welcome 😊

Yes, you can try this.

I have a humble request. It would be very kind of you if you can manage some moment to give us feedback on

  1. Joomla Extension Directory
  2. TrustPilot

This will inspire us to improve.

0