Post by weedecs » Fri Dec 15, 2017 3:25 pm

Hello everyone,

I need a solution to hide "add to basket" button from product page, category page, search page, tag page and other listing pages when the item stock is zero.

Generally there is warning message such as "temporarily unavailable" or "out of stock" or "sold out" on all populer e-commerce shops and add to basket buttons are not seen on these products. I also want to add a warning text or image like that. And i can not understand why this feature is not available on core files of Opencart. I think this feature is one of the "must have" features for an e-commerce website.

For SEO and indexing more pages, i do not want to disable these products, also they can be available in a while. User's can check the page for any specifications for just looking but not buying. It will also effect site's ranking.

So does anyone know which codes i have add on PHP and TPL files for 1.5.6 version?

Thank you from now on for your support.

Web Design: http://www.websanati.com
Personel Blog: http://www.alperheper.com


User avatar
Newbie

Posts

Joined
Sat Feb 11, 2012 6:58 pm

Post by straightlight » Fri Dec 15, 2017 11:32 pm

Followed is a partial solution for categories: viewtopic.php?f=202&t=199501&p=702598&h ... ry#p702638 . Although, it is for v3.x releases. Fit it in as you please for v1.5x releases.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Opencart.com contractor officials representative


Administrator

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by cyclops12 » Sat Dec 16, 2017 2:30 am


Active Member

Posts

Joined
Sun Sep 27, 2015 1:10 am

Post by straightlight » Sat Dec 16, 2017 3:04 am

cyclops12 wrote:
Sat Dec 16, 2017 2:30 am
What about one of these: https://www.opencart.com/index.php?rout ... 20if%20oos
Not really precise location to look on generic modules about this enquiry. It would rather be great to see specifics as per described from this topic: viewtopic.php?f=144&t=200485&p=707174#p707174

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Opencart.com contractor officials representative


Administrator

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 72 guests