News:

Looking for documentation? Take a look on our wiki

Main Menu

Checkout problems. Please help!

Started by target4fun, May 24, 2013, 01:03:36 AM

Previous topic - Next topic

target4fun

So I have spent the past 3-4 hours trying to solve this problem and played with just about anything and everything possible and I am completely stuck. 

Details about my site:
Latest version of joomla
Rockettheme template
Latest version of VM
OPC from limelabs.org
advanced paypal plugin

The two problems I am having which I dont believe are related.

1. Shipment unavailble and it doesnt show on the checkout page.  there is simply no option, I have tried auto slected and unselected.  I also tried disableing different countries and the ajax country scrips with no luck so I enabled again.  While I was tryiing to fix this problem I seem to have noticed or created another problem. 
2.When I add a product to cart at first my "add to cart" disappeared then I fixed that and now it adds to card redirects and then shows 0.00 for the total?  The total is zero when the item costs 40 dollars on the previous page.  This I have zero clue how to fix.
3.The ajax on the add to card quanities and on the OPC dont seem to work at all i cant add or remove any quanities on the product details/add to cart page or the OPC checkout page. (when the OPC was showing an amount it wouldnt allow me to use ajax at all ofcourse now it wont add to the checkout page.) 

Is there anyone who can help me I feel like ive worked on this deal for over 4 hours and nothing seems to be working.

Thanks for anyone's help on this ...   

BrokenChaos

I had the same problem and someone here said I had jquery conflicts...
I too had NO IDEA how to fix it....

So I download jqueryeasy plugin from the joomla extensions and VOILA.... it started working the way it should....

I still have some issues, but its getting there....

Let me know if the plugin has helped your issue... I would love to give back some help that others have given me  ;)

target4fun

Okay So i downloaded that plugin and enabled and it didnt fix it.  But thanks for trying!   I am so stuck.  I also posted on the Linelab OPC forum they said i had some confilicts with Roxbox or pweb contact so I disabled both and that didnt fix anything. 

My webpage add to cart page: http://concealedhandgunonline.com/index.php/click-here-to-start-now

Here was the code they refrenced:

SyntaxError: unterminated string literal



minus  = cart.find('.quantity-minus').unbind("click",minus'),



mootoo...tact.js (line 11, col 60)

   

ReferenceError: Virtuemart is not defined



Virtuemart.addtocart_popup = '0' ;



click-...art-now (line 59)

ReferenceError: pwebContactJText is not defined



...lass("active";this.BoxMorph.start({width:0,height:0,opacity:0});this.resetForm(...



mootoo...tact.js (line 11)

ReferenceError: RokBoxSettings is not defined



...,">".replace(/"/g,'"');}});this.RokBox.Class=new Class({Implements:[Option...


NOT SURE if the code above helps?

jenkinhill

@target4fun you JavaScript is a bit of a mess. Rather than use jQueryEasy you look carefully at the JS debugger results in IE debugger or in Firebug. Yes there is a problem with Rokbox so that should be removed or disabled, but it also looks like a corruption in the vmprices.js file as that is the first error to appear. IE10 debugger result here:

SCRIPT1015: Unterminated string constant
vmprices.js, line 94 character 85
SCRIPT5009: 'Virtuemart' is undefined
line 59 character 1
SCRIPT5009: 'RokBoxSettings' is undefined
rokbox.js, line 179 character 232

The second error is probably a knock-on from the first, the Rokbox error is typical with RT templates.

To check the issue is with vmprices.js you could switch Joomla templates to use Beez (having first disabled Rokbox) and if it works OK then it is something in your template code causing the problem, if it does not work then try replacing the file - or re-installing VM.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

target4fun

Okay It was the VM prices js deal.    That and the pre-loader deal with OPC.  I think it was some code i got off the VM forum that would allow you to go straight to cart after hitting the add to cart button.  There was two spots to edit code.  Apparently that screwed things up.  I hope this helps out someone else in the future. 

Now I am going to start to try to get my Advanced paypal plugin working and I should be set.  There seems to be a problem with it now.   Some "invalid token" error.   

Is there a clean way to "add to cart" and then direct the customer directly to the cart with out them having to click "go to cart".  We are selling one product so that seems the most simple for customers.