Post by mark4785 » Fri Jul 01, 2016 4:49 am

I would like to add the word 'From' in front of the product price listed on all the product pages. What file would I need to modify to make this change?

Regards,
Mark.


Active Member

Posts

Joined
Fri Jan 30, 2015 3:01 am

Post by mark4785 » Fri Jul 01, 2016 6:41 am

Any pointers?

Regards,
Mark.


Active Member

Posts

Joined
Fri Jan 30, 2015 3:01 am

Post by labeshops » Fri Jul 01, 2016 6:52 am

Product.tpl

Running Opencart v3.0.3.2 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.


User avatar
Expert Member

Posts

Joined
Thu Aug 04, 2011 4:41 am
Location - Florida, USA

Post by artcore » Fri Jul 01, 2016 2:31 pm

Try adding this to your stylesheet:

.price:before { content: "From "; }

Change .price to the actual class(es) your theme is using. Should work for all pages and modules. But double check they all have the same class for this element.

Attn: I no longer provide OpenCart extensions, nor future support - this includes forum posts.
Reason: OpenCart version 3+ ;D

Thanks!


User avatar
Active Member

Posts

Joined
Tue Jul 09, 2013 4:13 am
Location - The Netherlands
Who is online

Users browsing this forum: No registered users and 8 guests