Post by kristel04 » Mon Aug 28, 2017 4:00 am

Hello,
I am trying to modify the size of special price (price-new, price-old) on every module on homepage(bestseller,featured etc)
I checked bestseller.tpl and added <h4>, but it doesn't work.
I am on OC 2.2.0.0. Please help

Newbie

Posts

Joined
Mon Aug 28, 2017 3:52 am

Post by IP_CAM » Mon Aug 28, 2017 4:30 am

should basically work like this, AFTER you cleared out OcMod / VqMod Cache
before then cleaning out your Browser Cache as well, to then see the Result.
Ernie
---
Default OC v.2.2.x:

Code: Select all

<span class="price-new"><?php echo $product['special']; ?></span> <span class="price-old"><?php echo $product['price']; ?></span>
Special Price=H4 - Old Price = small:

Code: Select all

<span class="price-new"><h4><?php echo $product['special']; ?></h4></span> <span class="price-old"><small><?php echo $product['price']; ?></small></span>

Ernie's OpenShop v.1.75 + OpenCart v.1.5.6.5 LIGHT Test Sites with free responsive Themes
http://www.bigmax.ch/shop/ - http://www.ebikes.li - http://www.ipc.li/shop/ - http://www.openshop.li/shop/
Image


User avatar
Guru Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by kristel04 » Mon Aug 28, 2017 4:02 pm

Thank you for your reply.
I tried to change in some modules - bestseller.tpl, special.tpl, featured.tpl, but nothing changed (I cleared cache). Is there somewhere else I could change the style of new-price and old-price. In stylesheet.css I could change only font-weight from .product-thumb .price-new

Newbie

Posts

Joined
Mon Aug 28, 2017 3:52 am

Post by IP_CAM » Mon Aug 28, 2017 7:37 pm

Well, you could add a link, so someone would be able, to at least see,
what Theme you use...
Ernie

Ernie's OpenShop v.1.75 + OpenCart v.1.5.6.5 LIGHT Test Sites with free responsive Themes
http://www.bigmax.ch/shop/ - http://www.ebikes.li - http://www.ipc.li/shop/ - http://www.openshop.li/shop/
Image


User avatar
Guru Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by kristel04 » Mon Aug 28, 2017 10:06 pm

I am using default theme- www.detebg.com

Newbie

Posts

Joined
Mon Aug 28, 2017 3:52 am
Who is online

Users browsing this forum: No registered users and 7 guests