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

TOPIC: Select Shipment button not working right

Select Shipment button not working right 9 years 6 months ago #10854

Hi.
The "select shipment" button in the cart is supposed to open up and either say "login to see shipping options" or similar but now it opens and spins a couple of times and then closes again. It works fine when logged in but it looks like an error is occurring and i fear putting people off - any idea why this is happening please ?

The only modules not from you are the Twitter one and the Review one and with them turned off it still acts the same.

www.bluefrogtoys.co.uk

many thanks
Last Edit: 9 years 6 months ago by Richard. Reason: forgot the URL !
The topic has been locked.

Select Shipment button not working right 9 years 6 months ago #10862

Hi,

It must be because the Shipping plugin you are using. There are many different shipping plugins for Virtuemart, and some of them has their own structure.

Try this:

open this PHP file:
/templates/flexible_coolmart/html/com_virtuemart/cart/default_pricelist.php

and look for this line:
$SelectShippingAjax = "jQuery('#selectshippingContent').load('". JRoute::_('index.php?view=cart&tmpl=component&task=edit_shipment',$this->useXHTML) ."  #userForm')";

and replace it with this:
$SelectShippingAjax = "jQuery('#selectshippingContent').load('". JRoute::_('index.php?view=cart&tmpl=component&task=edit_shipment',$this->useXHTML) ."')";

it might or might not work. Let me know about the result.

Regards,
Support
The topic has been locked.

Select Shipment button not working right 9 years 6 months ago #10866

thanks - while you were having website problems (i tried to post a few times) i tried a load of different things and by ticking "One page checkout enabled" this made it work right again - i cant see that this has affected anything as i know this should be off for your template ? what do you think ?
The topic has been locked.

Select Shipment button not working right 9 years 6 months ago #10870

Ohh yes, "One page checkout enabled" should be DISABLED all the time. Never ever enable it.
Otherwise it would cause an "infinite loop" during checkout. Nobody will able to complete the checkout.

Our template already using "one page checkout", but it has its unique way to do it. (enabling that option, will activate the VM's official structure, which causes a conflict)

Regards.
The topic has been locked.

Select Shipment button not working right 9 years 6 months ago #10874

You have me worried now.
I disabled "one page checkout" and applied your suggested change above.
This made it a lot worse, not able to open shipping options at all - blank page and site crash !

Have changed it back now so "one page enabled" is on and removed the file change - all appears to be well but not keen on getting a checkout loop !
The topic has been locked.

Select Shipment button not working right 9 years 6 months ago #10901

hmm.

than something must be different on your website. Normally (with using ordinary shipping&payment plugins) if you enable "One page Checkout" option, it causes infinite loop.

What i mean by infinite loop is:

- Add product to cart
- Open the shopping cart
- Login (or provide address through guest checkout)
- Select shipment method
- Select payment method
- Click "Checkout" button

- IT SHOULD BE: The page refreshes again, and asks you to click "CONFIRM ORDER" to complete the checkout.
- INFINITE LOOP: it asks you provide shipping address again.

If that scenario doesn't happen to you (the website doesn't ask you to provide address at the last step) then you are good to go.

I am talking about the general situation, but maybe this thing has changed in the latest VM versions. But it was creating INFINITE loop previously, maybe this has changed in the new VM versions. I can't be sure.

Do some tests on your website (as if you are an ordinary shopper) if you don't see any problem during the checkout, then nothing to worry about.

Regards.
Support
Last Edit: 9 years 6 months ago by Support.
The topic has been locked.

Select Shipment button not working right 9 years 6 months ago #10913

Ok thanks - it seems to be ok as we are getting sales again on the site when they stopped while the shipping part wasnt working so will keep an eye on it.

I reckon its time for you guys to create the ultimate 1 page checkout for VM ?
The topic has been locked.

Select Shipment button not working right 9 years 6 months ago #10937

yes, it is time to develop a standalone/bug-free 1-page-checkout extensions for VM.

We are just keeping it for VM3.0. We have some other plans for VM3.0 as well. We'll see ;)

Case solved, topic is closed.

Regards,
Support
The topic has been locked.
Time to create page: 0.126 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