close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

eCart S&H Returned Error

Thread began 12/03/2011 12:06 pm by mora398588 | Last modified 12/06/2011 10:53 am by Jason Byrnes | 605 views | 3 replies |

mora398588

eCart S&H Returned Error

I recently used the Checkout Wizard to update my shopping cart checkout pages - I selected a different template. I have done this at least 2-3 times.

When the wizard inquired about how I ship, I selected the same process which I was using before.

When I went into the eCart object, I noticed, under the shipping tab, there were multiple shipping items which were the same, e.g., flat rate and price per item. My first thought that this must have occurred when I had run the checkout wizards in the past. -- See attached copy of eCart Object.

When I ran a test using my cart.php page, I noticed that the shipping charges were incorrect. The cart was adding too much shipping. I figured the eCart object needs to be updated to reflect only one (1) flat rate and one (1) price per item variable.

When I attempted to update the eCart object by deleting the additional variables, eCart gave me a error message. -- see attached error message.

How can I edit the eCart object so that it only reflects one (1) flat rate and one (1) price per item order variable?

Attached Files
eCart Error.zip
eCart Object.zip
Sign in to reply to this post

Jason ByrnesWebAssist

you will either need to recreate the eCart object from scratch, or edit the eCart object file by hand to remove the extra shipping charges.


the checkout wizard is not intended to be run multiple times.

If you are going to re run the checkout wizard, you will need to delete the existing checkout pages, and edit the eCart object to remove any shipping or tax rules first.


if you need further assistance, send a copy of the eCart object file.

Sign in to reply to this post

mora398588

Hello, Jason.

I was unaware that the checkout wizard is not to be ran multiple times. Lesson learned.

For the sake of time, could you guide me through the removal of the extra shipping and handling charges code in my eCart object? I would prefer not to recreate eCart object, unless you feel that would be the easiest approach.

I have attached my object to this thread.

Attached Files
eCart1_PHP.zip
Sign in to reply to this post

Jason ByrnesWebAssist

delete lines 90 - 93:

php:
$this->Shipping[] = new WA_eCart_Rule(urldecode("Shipping%20&%20Handling"), true, "WAEC_eCart1_ShippingHandling");

  $this->Shipping[] = new WA_eCart_Rule(urldecode("Shipping%20&%20Handling%20per%20item"), true, "WAEC_eCart1_ShippingHandlingperitem");
  $this->Shipping[] = new WA_eCart_Rule(urldecode("Shipping%20&%20Handling"), true, "WAEC_eCart1_ShippingHandling");
  $this->Shipping[] = new WA_eCart_Rule(urldecode("Shipping%20&%20Handling%20per%20item"), true, "WAEC_eCart1_ShippingHandlingperitem");
Sign in to reply to this post

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...