Jump to content

Shipping Isnt added


Guest phonecrazy

Recommended Posts

Guest phonecrazy

When I try a test order, shipping isnt added to the price unless a customer clicks Update...

Im worried as most customers wont know to click update and many wont to incur additional costs...

Anyone got any suggestions?

Link to comment
Share on other sites

  • 2 months later...

Guest Complexions

Can't you just call the update function on the page load to calculate shipping? Or just steal that part of the code and paste it into the viewCart function? I haven't looked into it, but I'm sure it shouldn't be an issue.

Link to comment
Share on other sites

The "Update Cart" button calls up a javascript function -

"javascript:submitDoc('cart');"

I am not very knowledgeable about even simple coding, so I don't know how, or when would be the best time, to call up that code automatically. Any suggestions?

Also, I don't think that work-around is a good solution. There has to be a better way.

I have only two options for shipping, "Priority Mail" and "Express Mail." If I only knew how to make the options appear in the form as buttons, instead of a drop down, with the default set as the current value of "Priority Mail" I'd be happy.

Even when actually choosing an option from the dropdown for shipping, the cart doesn't always refresh and add the shipping value. It seems the only way to guarantee it gets added is to use the "Update Cart" button, and THIS IS NOT GOOD :no:

Link to comment
Share on other sites

Guest guckenfroovin

Okay, I have the same problem... and because I'm shipping rocks (yes, rocks!) it's crucial to have the shipping by weight calculate appropriately... I'm eager for a *real* fix to come out for this problem... in the meantime, however, I'll share this REALLY KLUDGY workaround I came up with...

FIRST, feel free to play with my cart at http://www.somethingsfishyintexas.com to see this workaround in action before you decide to implement it! (The store is close to going live, so please go a little easy on it by just doing the necessary testing to determine if you want to use the solution I'm explaining below. Thanks!)

Now, a little background... the idea behind this workaround is not to rely on "customer/user intervention" to get the cart update performed, but to *force* the customer into an "automatic" update.

(It's not possible to have the cart update routine run on page load, because you end up having a page refresh loop... so...)

I did this by bordering the "Continue" button (in the cart template) with a tiny invisible image, which on mouseover sends the cart update command.

Here's the step-by-step on how to do this (for Legend skin ONLY -- other skins, you're on your own!):

1) Create a 1 pixel by 1 pixel invisible gif called "mouseover.gif" and upload it into the images/general folder on the server.

2) Open skins/Legend/styleTemplates/content/cart.tpl

2a)

Directly below the

<!-- BEGIN: view_cart -->
 on line 1,

insert:


<body onLoad="document.location.href = '#pagebottom';">




2b)



on or about line 149, find:


<td colspan="5" class="tdCartSubTotal">- {LANG_REMOVE_ITEM}</td>


change to: 
<td colspan="5" class="tdCartSubTotal">- {LANG_REMOVE_ITEM}<a name="pagebottom"></td>




2c)



on or about line 171, find:


<div style="float: left; line-height: 22px; margin-bottom: 3px;"><a href="javascript:submitDoc('cart');" class="txtUpdate">{LANG_UPDATE_CART}</a> {LANG_UPDATE_CART_DESC}</div><div style="text-align: right; margin-top: 4px; margin-bottom: 3px;"><a href="{CONT_VAL}" class="txtCheckout">{LANG_CHECKOUT}</a></div>


change to:


<div style="float: left; line-height: 22px; margin-bottom: 3px;"><a href="javascript:submitDoc('cart');" class="txtUpdate">{LANG_UPDATE_CART}</a> {LANG_UPDATE_CART_DESC}</div><div style="text-align: right; margin-top: 4px; margin-bottom: 3px;"><img src="images/general/mouseover.gif" height="1" width="59" onMouseover="submitDoc('cart');"><br><img src="images/general/mouseover.gif" height="16" width="1" onMouseover="submitDoc('cart');"><a href="{CONT_VAL}" class="txtCheckout">{LANG_CHECKOUT}</a><img src="images/general/mouseover.gif" height="16" width="1" onMouseover="submitDoc('cart');"><br><img src="images/general/mouseover.gif" height="1" width="59" onMouseover="submitDoc('cart');"></div>

*** That's it! ***

Now, the downside to this workaround is that the page may refresh an extra time or two as the customer passes their mouse over the "Continue" button. I tried to minimize the effects of this by having the page return to the same position ("#pagebottom") each time it refreshes.

But on the upside... the customer CANNOT easily continue to the payment screen without triggering the total value of the cart to update!

Hope this helps a bit!

Link to comment
Share on other sites

In my experience this is not the case; shipping is usually not added unless you refresh the cart in step 4. I have tested both with PayPal and with mail order numerous times. There have been many posts in the forums about this, and several bug reports with additional comments over in the v.3 bugs board. Brooky has evidently been working on the problem for a fix in 3.0.3.

Also, I saw a post the other day in which it appeared to me that you, Robert, had had a similar problem, found a workaround, and invited others to PM you for a fix. I sent a PM and never heard back . . .

I must have misunderstood that post entirely <shrugs>

This workaround is indeed very clumsy, but beats the hell out of taking orders without the shipping included IMO.

Link to comment
Share on other sites

Guest GuillaumeF

In my experience this is not the case; shipping is usually not added unless you refresh the cart in step 4. I have tested both with PayPal and with mail order numerous times. There have been many posts in the forums about this, and several bug reports with additional comments over in the v.3 bugs board. Brooky has evidently been working on the problem for a fix in 3.0.3.

I'm in the same situation that you...

We should create a button that calculate shipping cost and remove the button "Continue" if the shipping cost isn't calculate... But who can create it ?

Link to comment
Share on other sites

Guest benlogan

is it possible to do this:

when the user clicks the continue button it does this:

gets the sub-total i.e. $25.50

gets the total (including shipping) $25.50 + $4.95 = $30.45

compares the sub-total with the total

if the total and the sub-total are the same (which would most likely mean, shipping hasnt been added), it pops a messagebox up saying, please select a shipping method,

if they are different (shipping has been added), contine like normal.

is that possible at all?

Link to comment
Share on other sites

It's scared...

I am done to build site and try to open business but I found big problem with shipping charge.

I set UPS and there are 2 options for local customer - "Ground Shipping" and "2nd day air".

Sometimes it's not included at all until click on "Update" button.

Sometimes included wrong price - I mean, it shows "Ground Shipping" but added "2nd day Air" charge. ???

Is it funny? Not at all to me. It is so scary to me.

Someone mentioned it is free software... well, but I had no idea about this major big problem, and I spent lots of time and passion.

What should I do now?

Can we ask brooky some patch???

Andy

Link to comment
Share on other sites

Guest megagente

The demo use the free shipping option as default, thats the reason why maybe the error was not seeing before. Are actual stores working with this error, wow this could be a big problem in sales.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...