VirtueMart Forum

VirtueMart 2 + 3 + 4 => Frontend Modules => Topic started by: mrmysterious on January 28, 2018, 05:31:57 AM

Title: My cart module doesn't link to cart but to base url
Post by: mrmysterious on January 28, 2018, 05:31:57 AM
Hello,

I have the following issue:

When clicking the cart symbol in the cart module in frontend the user is being taken to the base url and not to the cart. Look at the pic (yellow area).
Why is that and where can I change this url? In the modules .php maybe?

Greetings
MrM




Title: Re: My cart module doesn't link to cart but to base url
Post by: Studio 42 on January 28, 2018, 15:59:37 PM
have you set a item menu link in joomla to the cart  and is the cart not disabled in the config ?
Title: Re: My cart module doesn't link to cart but to base url
Post by: mrmysterious on January 29, 2018, 04:52:30 AM
Thanks for answering,

To answer last question first: I do think so - see attached pics, and it's active, too - you see there's one product in it.

Quotehave you set a item menu link in joomla to the cart

Why would that be necessary? Wouldn't have the cart module have to link to itself right from the start?

But if I click on it leads me to my startpage - the baseurl: www.shoppieonline.de :-[
Title: Re: My cart module doesn't link to cart but to base url
Post by: Studio 42 on January 29, 2018, 11:48:21 AM
Der link ist nicht von den module. Normale weis hast du kein link when der korb lehr ist. So meine ich das dieser link einen normale link ist and nicht von virtuemart.
Try to add a Joomla menu item link in the same template position as the cart module, or modify the template override, the problem is not from Virtuemart, but certainly from template.
Title: Re: My cart module doesn't link to cart but to base url
Post by: mrmysterious on January 29, 2018, 23:08:28 PM
Thank you.

I figured out it was the logo home link in the header row (index.php of the template) which overlayed the link for module.
I found it easiest to put a new link there that links to cart. Because I don't need a home link there while another is in top menue.
See attached pic.

I changed the lower yellow area (the upper shows how it was before - in case the logo would be an image file) for my Logo is text only.

Thanks for pointing me to the right direction. :)