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.
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
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.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
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#p707174cyclops12 wrote: ↑Sat Dec 16, 2017 2:30 amWhat about one of these: https://www.opencart.com/index.php?rout ... 20if%20oos
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Who is online
Users browsing this forum: Bing [Bot] and 83 guests