Post by JohnniZ120 » Tue Nov 28, 2017 4:43 pm

I have products currently on "Special" sale. And when I put in the amount to sell at, a little box pops up that shows the percentage off. (a badge)

I don't want the badge to show at all. How would I remove it? I would also like to remove the countdown that shows when I hover over the product.

page I am referencing:
https://thespiritcorner.com/index.php?r ... =117_59_60

You can see several "sale" items with the -% badge.

Newbie

Posts

Joined
Thu Mar 16, 2017 12:02 pm

Post by paulfeakins » Tue Nov 28, 2017 7:36 pm

Find in your CSS:

Code: Select all

.product-grid-item .image .label-sale {
display: block;
}
Change to:

Code: Select all

.product-grid-item .image .label-sale {
display: none;
}

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by JohnniZ120 » Tue Nov 28, 2017 10:04 pm

ok. I'll try to find the code. It's in my cpanel?

Newbie

Posts

Joined
Thu Mar 16, 2017 12:02 pm

Post by paulfeakins » Tue Nov 28, 2017 10:08 pm

You should be able to find it in the File Manager, probably under /catalog/view/theme/

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by JohnniZ120 » Tue Nov 28, 2017 10:21 pm

I have Journal theme installed where there is a custom code section. Can I just paste it in there?

Newbie

Posts

Joined
Thu Mar 16, 2017 12:02 pm

Post by paulfeakins » Tue Nov 28, 2017 11:23 pm

Why not give it a try! You can always remove it again if it doesn't work.

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by JohnniZ120 » Tue Nov 28, 2017 11:34 pm

I did it! Woot! Back in the day I worked a lot with html and even designed sites... but have moved on. The css is a new beast.
Next and similar question... the same products still have the "countdown timer" in them. How to remove that???? I just want it to be super clean, don't need a timer.

Newbie

Posts

Joined
Thu Mar 16, 2017 12:02 pm

Post by paulfeakins » Tue Nov 28, 2017 11:38 pm

Very good!

Can you link to a product that has a timer?

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by JohnniZ120 » Wed Nov 29, 2017 2:08 am

This one.
https://thespiritcorner.com/index.php?r ... uct_id=851

scroll down, it's under the product code, and I'm still seeing the little badge with the -% in the top right corner...do you see it... maybe I just need to clear cookies?

the other place the timer shows is in the category page, with all the thumbnails.
https://thespiritcorner.com/index.php?r ... =117_59_60

if you hover over products #3 and #4 it shows a timer countdown.

it would be incredibly awesome if OpenCart would give you the option of YES or NO to select to show those options on a Special. vs automatically having it in there.

for example - I have Clearance items, just need to show the price difference, no timer countdown, and no -% badge.

thoughts on how to work around?

would like to keep using the custom css in journal if possible. since I need to do journal updates and usually the css codes keep working with each update.

Newbie

Posts

Joined
Thu Mar 16, 2017 12:02 pm

Post by JohnniZ120 » Wed Nov 29, 2017 2:15 am

I can make do with the countdown if need be... big focus is the -% badge. I did clear cookies and it's not showing on the main category page:
https://thespiritcorner.com/index.php?r ... =117_59_60

But still shows in a product that is on "special" ("sale")
https://thespiritcorner.com/index.php?r ... uct_id=851

Is there a magic code to use to not get it to show in the individual products?

Newbie

Posts

Joined
Thu Mar 16, 2017 12:02 pm
Who is online

Users browsing this forum: No registered users and 6 guests