Author Topic: Problem with Related products, when product is unpublished  (Read 808 times)

TaDrik

  • Beginner
  • *
  • Posts: 10
Problem with Related products, when product is unpublished
« on: February 22, 2020, 10:26:20 am »
Hello to all.

I have the below problem.
I have a product that has 10 related products. The related products are shown below the product in  the product page. But when a product (from the related) is unpublished then the product does not appear in the related products but the conainer of the product appears, so there is a blank space between the products (see screenshot). Is there a way to remove the space?

Thank you

Jörgen

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 2755
    • Kreativ Fotografi
  • VirtueMart Version: 3.4.x
Re: Problem with Related products, when product is unpublished
« Reply #1 on: February 22, 2020, 11:16:45 am »
Have You tried with the Protostar template and see if it disappers?

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)

TaDrik

  • Beginner
  • *
  • Posts: 10
Re: Problem with Related products, when product is unpublished
« Reply #2 on: February 22, 2020, 11:51:12 am »
No I have not, as the site is live. But I have the same problem in more than 1 sites (with different templates)

Jörgen

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 2755
    • Kreativ Fotografi
  • VirtueMart Version: 3.4.x
Re: Problem with Related products, when product is unpublished
« Reply #3 on: February 22, 2020, 13:40:53 pm »
You could easily test this live:

https://your-domain.your-extension/your-url&template=protostar

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)

TaDrik

  • Beginner
  • *
  • Posts: 10
Re: Problem with Related products, when product is unpublished
« Reply #4 on: February 22, 2020, 17:10:32 pm »
Thank you for the tip.
Unfortunately it doesn't work for me!!  :-[
I see the same temlate!

check it out https://www. stockpc.gr/shop/refurbished-desktops/-HP-COMPAQ-ELITE-8200-SFF-INTEL-I3-2100--details

Jörgen

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 2755
    • Kreativ Fotografi
  • VirtueMart Version: 3.4.x
Re: Problem with Related products, when product is unpublished
« Reply #5 on: February 22, 2020, 18:32:16 pm »
Hum, strange works at my site, try with questionmark [  ?  ]
 


Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)

TaDrik

  • Beginner
  • *
  • Posts: 10
Re: Problem with Related products, when product is unpublished
« Reply #6 on: February 22, 2020, 19:01:59 pm »
"?" did the trick.!!!

In protostar looks ok, with no spaces!!

Jörgen

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 2755
    • Kreativ Fotografi
  • VirtueMart Version: 3.4.x
Re: Problem with Related products, when product is unpublished
« Reply #7 on: February 22, 2020, 19:54:16 pm »
OK, then there is something in Your override for the related products. Probably this file:
templates/your-template/html/com_virtuemart/sublayouts/related.php

Jörgen

Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)

TaDrik

  • Beginner
  • *
  • Posts: 10
Re: Problem with Related products, when product is unpublished
« Reply #8 on: February 23, 2020, 08:58:14 am »
It uses owl carousel, as I saw, so maybe the problem is there!! The other templates do not use owl carousel. Same problem!

pinochico

  • 3rd party VirtueMart Developer
  • Jr. Member
  • *
  • Posts: 386
    • MiniJoomla
  • VirtueMart Version: 3
Re: Problem with Related products, when product is unpublished
« Reply #9 on: February 26, 2020, 11:09:56 am »
To TaDrik:

What do you think more exclamation marks will increase help for your problem?
Please do not spam this forum and contact the developer of your template.
The template is usually paid == you have the right to support.

This is your problem and your template problem, not VirtueMart.

Otherwise wait with humility and patience, it seems someone in good will will solve your problem here.


And You Are wrong - It uses owl carousel, as I saw, so maybe the problem is there!!
The problem is in module, not in owl carousel.
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds from products, orders and database table
Virtuemart Email Manager - customs email templates

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 4331
  • Joomla & Virtuemart developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3
Re: Problem with Related products, when product is unpublished
« Reply #10 on: February 26, 2020, 12:07:15 pm »
@pinochico Are you stressed ?
TaDrik do not spam the forum !

pinochico

  • 3rd party VirtueMart Developer
  • Jr. Member
  • *
  • Posts: 386
    • MiniJoomla
  • VirtueMart Version: 3
Re: Problem with Related products, when product is unpublished
« Reply #11 on: February 26, 2020, 12:55:14 pm »
No im ok, but I dont like "!"
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds from products, orders and database table
Virtuemart Email Manager - customs email templates

TaDrik

  • Beginner
  • *
  • Posts: 10
Re: Problem with Related products, when product is unpublished
« Reply #12 on: February 27, 2020, 14:00:21 pm »
I Don't understand how a " ! " is spaming the forum. Anyway people.

diri

  • Jr. Member
  • **
  • Posts: 106
  • VirtueMart Version: most recent dev version (trunk)
Re: Problem with Related products, when product is unpublished
« Reply #13 on: February 28, 2020, 06:06:06 am »
https://www.livinginternet.com/i/ia_nq.htm

There are very old rules about behaviour in forums or mailing lists. They are older than public Internet but, they developed in ancient times of mailboxes (eg at Fido-Net) and are proven to be usefull since many years.

Using several characters (eg !) can mean to insist on something no matter what other people have typed. A . is better and more polite in most cases.

edit: Fidonet etiquette

    Thou shalt not use a computer to harm other people.
    Thou shalt not interfere with other people's computer work.
    Thou shalt not snoop around in other people's computer files.
    Thou shalt not use a computer to steal.
    Thou shalt not use a computer to bear false witness.
    Thou shalt not copy or use proprietary software for which you have not paid (without permission).
    Thou shalt not use other people's computer resources without authorization or proper compensation.
    Thou shalt not appropriate other people's intellectual output.
    Thou shalt think about the social consequences of the program you are writing or the system you are designing.
    Thou shalt always use a computer in ways that ensure consideration and respect for your fellow humans.