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

How to automatically remove inactive products from related products lists?

Started by eclipsada, May 17, 2017, 12:15:11 PM

Previous topic - Next topic

eclipsada

Hi,

In my clients website, some products were disable. However, they were referred as related products to others and now the related products lists shows "image not available" on those disable ones. On click it opens a new window with the shop homepage.
Is there a way to remove disable products from related lists hide them somehow?

Thank you in advance.

jenkinhill

http://forum.virtuemart.net/index.php?topic=79799.0

Assuming that you are using a Joomla template with overrides, check to see if this happens with Protostar.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

eclipsada

I'm sorry, I had a very difficult morning, I forgot to attached my file and I should known better and provided more information. :o :-[
I'm using gavick InStyle template, width virtuemart 3.0.18, Joomla 3.6.5 and PHP 5.4.45.

With Protostar the problem remains.

Milbo

"On click it opens a new window with the shop homepage."

This sounds like a template which does not show messages, this is very bad. Actually you see a 404. I think you should update, because I believe I fixed that. Not sure though.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

eclipsada

I'm not really concerned with not having the message, but showing a product that is not available anymore in related products list. Of course I could remove it manually, but that would mean to verify thousands of products, one by one.

Milbo

Quote from: Milbo on May 17, 2017, 20:29:50 PM
"On click it opens a new window with the shop homepage."

This sounds like a template which does not show messages, this is very bad.

It is a crucial error! The shop cannot communicate with the shopper!

Quote from: Milbo on May 17, 2017, 20:29:50 PMI think you should update, because I believe I fixed that. Not sure though.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

eclipsada

Milbo,
Thank you for your concern, but the shop is not online yet and I know how to solve that issue.
I just updated and the problem remains (although now it just shows a blank space where the disable product used to be) with my template but it's solved with protostar.
So now it's between me and the template.

Thank you.

Regards.

Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/