Post by aryne » Thu Jul 03, 2014 9:53 pm

Dear opencart expert, I am new to opencart and is in the midst of setting up my store.

I would like to know if it is possible to add an option which will display as strike-through if the stock for that option is no longer available. Something like this:

Image


If it is possible, how?
Would greatly appreciate any advice or comment!

Attachments

strikethrough.png

strikethrough.png (5.47 KiB) Viewed 724 times


Newbie

Posts

Joined
Thu Jul 03, 2014 9:46 pm

User avatar
Active Member

Posts

Joined
Sat Mar 30, 2013 12:27 am
Location - Springfield, MA

Post by aryne » Fri Jul 04, 2014 10:18 am

tacobandito wrote:Not possible by default. I couldn't find any extension that would do that either...so you'd need to figure it out for yourself, or post on the commercial support forum.
Thanks ~ Was wondering if it can at least be made grayed out?

Newbie

Posts

Joined
Thu Jul 03, 2014 9:46 pm

Post by aryne » Fri Jul 04, 2014 10:40 am


Newbie

Posts

Joined
Thu Jul 03, 2014 9:46 pm

Post by billynoah » Sat Jul 05, 2014 5:43 am

coincidentally I just wrote something like this for a client a few days ago. shows out of stock options as disabled and accompanying "out of stock" text in red.

see it in action here (click on "size"):
http://envirotechgreenhouse.com/ground- ... -coldframe

pm me if you're interested pm me.

Image


User avatar
Active Member

Posts

Joined
Tue Jan 15, 2013 12:46 pm

Post by aryne » Wed Jul 30, 2014 8:22 pm

It worked in the sense that it fulfilled my objective but just not in the exact text block display format shown above which was what I initially wanted.

Check out following site for what I have currently achieved:

http://www.cheekylilmummy.com/Isabel-Pe ... ink-Ribbon

Expand the Size option list

Newbie

Posts

Joined
Thu Jul 03, 2014 9:46 pm
Who is online

Users browsing this forum: No registered users and 29 guests