News:

Support the VirtueMart project and become a member

Main Menu

Recent posts

#71
General Questions / Re: Stay on Product Page After...
Last post by Jumbo! - May 06, 2025, 20:55:26 PM
VirtueMart will always redirect you to the cart page if you turn off the "Display modal popup upon 'Add to cart'" option. If you do not want to show the modal, you must override and customise the following script in your template.

components/com_virtuemart/assets/js/vmprices.js

You can override it by copying the file to:

templates/YOUR-TEMPLATE/js/vmprices.js

Keep the "Display modal popup upon 'Add to cart'" option as yes, and then customise the "Virtuemart.cartEffect" function as per your need.

If you need professional help, you can contact me.
#72
General Questions / Stay on Product Page After Add...
Last post by andrai2 - May 06, 2025, 00:49:49 AM
Hi,

I'm using VirtueMart 4.0.12 on Joomla 4.4.12 with PHP 8.2.

I'm trying to achieve the following behavior:

When a user clicks "Add to cart", I want the page to stay on the same product — no popup, and no redirect to the cart, just the cart icon update on the right corner

Here's what I've already configured:
In VirtueMart → Configuration → Checkout, I have set
"Display modal popup upon 'Add to cart'" to "No"

Despite this setting, the user is still redirected to the shopping cart after clicking Add to cart.

Why this is necessary:
We sell low-cost products (e.g., €0.60 per item) and have a minimum order value of €7. Redirecting to the cart every time interrupts the user flow and creates unnecessary clicks. Ideally, customers should stay on the product page and continue shopping without disruption.

My understanding so far:
As I understand it, VirtueMart configuration does not offer a built-in option to fully disable the redirect and stay on the product page without a popup or cart page load.
Therefore, I think I need to create a template override by modifying the addtocart behavior

What I'm looking for:
Prevent redirection to the cart

No popup

Remain on the product or category page

Any help or advice on how to make this work would be very helpful.


Thank you!
#73
General Questions / I can't uninstall VM and VM AI...
Last post by cobra-arbok - May 05, 2025, 18:08:59 PM
It was installed VM & VM AIO over a year ago, but only a basic initial installation was done..
The project was then canceled and so VM and VM AIO should be removed but I still get the error:

Package Uninstall: Missing manifest file.
Error uninstalling package.

Where can I find a procedure to do this?

VirtueMart version: 4.2.18 11050
#74
General Questions / Re: Disable shipping address a...
Last post by Jumbo! - May 05, 2025, 17:19:41 PM
You can consider using the VP One Page Checkout plugin (https://www.virtueplanet.com/extensions/vp-one-page-checkout), which has options to disable both the shipping address and the shipment method selection.
#75
General Questions / Disable shipping address and s...
Last post by vmfyelloq19 - May 05, 2025, 12:34:26 PM
Friends,
for a shop with only digital products I'd like to disable both shipping address and selection of shipment method as both are not required.
How can I do this?

TIA!
#76
3rd party extension / Re: Product hits counter and P...
Last post by DNT - May 04, 2025, 15:10:01 PM
#77
3rd party extension / Re: Product hits counter and P...
Last post by DNT - May 02, 2025, 14:00:02 PM
why are the hits not being recorded incrementally in the DB?
#78
3rd party extension / Re: Product hits counter and P...
Last post by AH - May 02, 2025, 12:38:15 PM
They appear not to support this anymore in J4.
#79
Quote from: changlee on April 30, 2025, 17:22:16 PMYou have to check your tempalte settings also. What is going there?

The Template is called "JA Elicyon". I didn't change anything in its settings and I also couldn't find any template settings that seem like they would influence the breadcrumb.

Or am I looking in the wrong place?
#80
3rd party extension / Re: Product hits counter and P...
Last post by DNT - May 02, 2025, 09:49:10 AM
Waht happend whit this plugin??