Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Virtuemart Template - FashionMart (SKU# FLEX-00008)

TOPIC: Facebox with Continue Shopping leads to wrong page

Facebox with Continue Shopping leads to wrong page 11 years 2 days ago #3608

We have a module "Virtuemart products" on our front page (Module Description Displays: Featured, Best Sales, Random, or Latests products) with featured products.

Suddenly it stopped working, that is, the products are displayed, but as you buy them, they are not added to the shopping cart (the text in the shopping cart module is only enlarged).
Although the facebox says the product had been added. An the text "continue to shop" now has a wrong link. It now leads me to www.kollevold.no/component/virtuemart/, which is not where is it supposed to go.

From the menu links to the products, we can add to cart normally.
Attachments:
The topic has been locked.

Facebox with Continue Shopping leads to wrong page 11 years 2 days ago #3610

Hmm - very odd ...

Have you tried for a short test with SEF switched off?

Are you using a 3rd party sef component?

I can't think of any reason why our template would have any effect on this module.. it is just using the standard VM JSON add to cart routines..

Cheers
The topic has been locked.

Facebox with Continue Shopping leads to wrong page 11 years 2 days ago #3611

No 3rd party sef comp.
Haven't tested with sef swiched off yet.

I have posted the same in the VM forum. Maybe someone there has a clue as to why this happened..

:)
The topic has been locked.

Facebox with Continue Shopping leads to wrong page 11 years 2 days ago #3617

very odd why it goes to that particular url on continue etc..

the code that handles all this are in
components/com_virtuemart/controllers/cart.php
and
components/com_virtuemart/helpers/cart.php

but these are the same routines thruout VM..
The topic has been locked.

Facebox with Continue Shopping leads to wrong page 10 years 11 months ago #4049

I received help in the German forum.. ;)

I had accidentally removed too much in a core file. The quantity control should have been hidden, not removed completely.

:)

So in modules/mod_virtuemart_product/helper.php
I changed to this: <input type="hidden" class="quantity-input" name="quantity[]" value="1"/>

:)

So add to cart works, but the link "continue shopping" links to the standard VM frontpage (which I now have modified to look like rest of the template).

Case closed ;)
The topic has been locked.

Facebox with Continue Shopping leads to wrong page 10 years 11 months ago #4056

Thanks for letting us know -

topic solved
The topic has been locked.
Time to create page: 0.073 seconds

MaterialMart

for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo