News:

Looking for documentation? Take a look on our wiki

Main Menu

shopping cart remains empty

Started by Mari7701, December 05, 2019, 14:42:36 PM

Previous topic - Next topic

Mari7701

When choosing Virtuemart, it seemed easy to set up a webshop for selling Infrared products.
I've come a long way, but I'm still running into some things.
The most important thing is that the shopping cart remains empty after ordering a product. When using the template Protostar, the website keeps waiting and there will be no shopping cart at all.
What could be going on here? Have I forgotten something?

What is a free good, easy and customizable template by the way?

URL: https://makeshop.365dagenduurzaam.nl/index.php/winkel
VirtueMart 3.6.10 10211
PHP version 7.3.10
Joomla! version Joomla! 3.9.13 Stable [ Amani ] 5-November-2019 15:00 GMT

Jörgen

If You have chosen BS in the VM configuration, turn it off, using BS is still BETA.

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

GJC Web Design

the add to cart call causes a fatal error

Als de problemen blijven bestaan, neem dan aub contact op met de systeembeheerder van deze website en rapporteer de onderstaande fout.

    0 Call to a member function createPriceDiv() on null

turn on Joomla debug so the error can be traced and post the results here

free no idea ... but excellent bug free fast ones :  https://www.olympianthemes.com/virtuemart-templates.html
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Mari7701

Quote from: Jörgen on December 05, 2019, 15:03:00 PM
If You have chosen BS in the VM configuration, turn it off, using BS is still BETA.

Jörgen @ Kreativ Fotografi

Can you please tell me what you mean with BS?
(I 'm Dutch, that can be the reasen I don't recognize)

Jörgen

BootStrap, There is a setting in VM configuration to use BootStrap versions I see that You are using BS-4 i think in Your template. Maybe You have turned this switch in VM configuration->Templates (Layout Bootstrap version)

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

Mari7701

Quote from: GJC Web Design on December 05, 2019, 18:24:15 PM
the add to cart call causes a fatal error

Als de problemen blijven bestaan, neem dan aub contact op met de systeembeheerder van deze website en rapporteer de onderstaande fout.

    0 Call to a member function createPriceDiv() on null

turn on Joomla debug so the error can be traced and post the results here

free no idea ... but excellent bug free fast ones :  https://www.olympianthemes.com/virtuemart-templates.html

Thank you for your reaction. I'm definitely going to look at the template
In the meantime, I've made some progress.
One of the causes was an incomplete Joomla user management, a bit careless of me.
Meanwhile I can fill in a shopping cart and fill in the user data as a guest.
Unfortunately, the Checkout now button does not work.
You can see it for yourself on https://makeshop.365dagenduurzaam.nl/index.php/winkel/cart

The joomla debugging mode gives me no info that I understand.
Where should I have a look?
Joomla! Troubleshooting console
Session
Profile information
Memory usage
Database searches


Mari7701

Quote from: Mari7701 on December 05, 2019, 21:51:08 PM
Quote from: Jörgen on December 05, 2019, 15:03:00 PM
If You have chosen BS in the VM configuration, turn it off, using BS is still BETA.

Jörgen @ Kreativ Fotografi

Can you please tell me what you mean with BS?
(I 'm Dutch, that can be the reasen I don't recognize)

I turned off Bootstrap, the layout is much better now, thanks.

I haven't been sitting still and have moved on, although it isn't far enough to get an order.
See also answer above.

Jörgen

Test checkout with protostar template, could be a JS issue with your template.

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

GJC Web Design

all the required scripts aren't loading

TypeError: jQuery(...).vm2front is not a function winkel:513:15


here:
jQuery(document).ready(function($) {
   jQuery(this).vm2front('stopVmLoading');
   var el = jQuery('#checkoutFormSubmit');
   el.unbind('click dblclick');
   el.on('click dblclick',Virtuemart.bCheckoutButton);
}); //]]>

you've got multiple jquery loading
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Mari7701

Thank you for the reactions, top!
As a test I activated the Protostar template and ordered a product. Now it goes without a hitch.
The own template is based on Bootstrap 4, can that be the cause? If someone knows, pleace repond?

I'm going to use a different template, hopefully the shop will continue to work.

This issue is solved! Very nice and thanks again.

Jörgen

It does really not matter if it is based on Bootstrap 4, it it has error or doubly loaded js, then it can be based on anything.

Olympian themes have templates that work well with Virtuemart, there may be others, but these I trust.

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.