close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Shipping not being added to cart

Thread began 9/13/2017 12:04 pm by jlowery | Last modified 9/13/2017 1:59 pm by Ray Borduin | 1962 views | 6 replies |

jlowery

Shipping not being added to cart

From my Quick Order page - that allows visitors to order multiple items - the shipping isn't being added. I tried to refresh the server behaviors and when I tried with the eCart Get from Recordset, I got an error (see attached image) that would let me OK the dialog.

I've included the quick-order.php page. How do I fix the shipping issue?

Sign in to reply to this post

Ray BorduinWebAssist

That error means that it couldn't find the recordset you originally used when applying the server behavior, so you have to select the recordset again.

You could also manually add the shipping on line 112 it should look something like:
$muirhead_itemchargeShipping = floatval("".$row_rsATC['shipping'] ."");

Sign in to reply to this post
Did this help? Tips are appreciated...

jlowery

I actually don't have a shipping field in the database - shipping rules are set in eCart - less than 4 items is $9.80, 5-9 is 14.00, etc. - the itemChargeShipping entry is a boolean whether to charge shipping or not - most items do. How do I get the eCart shipping rule when coming from this page? It's working with my standard ATC pages.

Attached Files
quick-order.php
Sign in to reply to this post

Ray BorduinWebAssist

How do you know which ones to set the value or not if it isn't in the database?

You could just set it to:

$muirhead_itemchargeShipping = floatval("1");

and then it would always charge shipping.

Sign in to reply to this post
Did this help? Tips are appreciated...

jlowery

That did it. Thanks.

However, it seems to have brought another problem to the front. On my receipt sent to the client, none of the product items (and weirdly, the phone number) are showing. She just gets the subtotal, shipping and grand total. This seems to have broken when ordering from the standard ATC pages as well. I've attached the email receipt page.

Attached Files
muirhead_receipt.php
Sign in to reply to this post

Ray BorduinWebAssist

Is the information stored in the database properly?

Sign in to reply to this post
Did this help? Tips are appreciated...

Ray BorduinWebAssist

The line should have been:

$muirhead_itemchargeShipping = floatval("".$row_rsATC['chargeShipping'] ."");

you added:

$ATC_itemchargeShipping = "" . $row_rsATC[ 'chargeShipping' ] . ""; // column binding

Sign in to reply to this post
Did this help? Tips are appreciated...

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...