News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Out of stock, not showing products, show message?

Started by ClaudePereira, December 28, 2020, 13:07:24 PM

Previous topic - Next topic

ClaudePereira

Hello,

I have a problem I cannot seem to fix. I have a couple of products which are out of stock, I configured Virtuemart to not show these products in the configuration tab. But now the page is just empty. I'd like to show a message that there are currently no products in stock.

But the products array is still populated, so I cannot use the normal template style in showing a message. Does anyone know how to tackle this problem?

pinochico

No, I didn't deal with it.

First you have to solve the problem with 404, which you caused yourself in the administration with your settings - products that were in stock have been indexed and now their URL does not exist - your e-shop is now considered by Google as a farm of 404 links.

Once you resolve, then you don't have to deal with the message display - all products will be visible,
those that are not in stock will not be ordered.

That will be right.
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products