close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Basic ? e-cart4 shipping & payment

Thread began 5/14/2010 11:21 am by mustang_sally_85344510 | Last modified 5/17/2010 7:22 am by Jason Byrnes | 967 views | 2 replies |

mustang_sally_85344510

Basic ? e-cart4 shipping & payment

Hi,
I am working in winxp, CS3 have supersuite, using e-cart4 on a php web site.

Couple of basic questions.
I already ran the wizard.
When I ran it, I had shipping at flat rate of $5.00 for each item.
Also I entered the email for the payment from paypal.

NOW,
I need to change the shipping from a flat rate to the amount entered into the database.
So, my client can charge different shipping amounts for each item...
Also, need to change the email/payment address.

I have accessed the e-cart object,...
added column "shipping" and changed shipping tab.rules..
Now, I'm getting error messages...

Parse error: parse error in C:\xampp\htdocs\store\WA_eCart\store_PHP.php on line 12

I have attached a copy of the page so you can see the code.

When the wizard is initially ran...
Does it automatically want to draw from the database for shipping?
When given shipping choice on the wizard, I thought I had to pick one or wouldn't be able to charge for shipping.

Also, how do I change the payment info?

Thank you in advance...
:)

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

mustang_sally_85344510

Added another file store_PHP

I realized I need to add the store_PHP.php file

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

Jason ByrnesWebAssist

The error you are getting is because you created the shipping calculation as:
[Shipping] * [Quanity]

instead of
[Shipping] * [Quantity]



to charge a flat rate for each item, you need to add a new column in your cart object for the shipping price. You will also need to have this column added to the products table.

In the add to cart button behavior, bind the new Shipping cart column to the shipping column in the recordset.

Now in the eCart object, set the calculation of the shipping rule to be:
Based on Column Subtotal:
subtotal Of column "TotalShipping" "plus" "0"

The business address for paypal is on the confirm page. Look for a hidden form element named business.

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