close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

How do I setup different shipping costs?

Thread began 11/30/2009 3:04 pm by dan322031 | Last modified 3/26/2010 3:11 pm by Ray Borduin | 9024 views | 39 replies |

Dan808

How do I setup different shipping costs?

Hello,
As of right now and to keep things simple, I have 3 products.

1. Aluminum Signs
2. Steel Signs
3. Vinyl Decals

All will have a different flat rate shipping fee.
1. $4.95 (Aluminum Sign)
2. $6.95 (Steel Sign)
3. $.99 (Vinyl Decal)

What do I have to edit in order for it to show the correct shipping costs when a customer checks out?

Could you also tell me how to have the cart add separate shipping costs for 2 signs or 3 signs?
EXAMPLE: 2 aluminum signs and 2 steel signs will cost $4.95 x 2 and $6.95 x 2 for a total S&H cost of $23.80.

Thank you WebAssist,
Dan

Sign in to reply to this post

Jason ByrnesWebAssist

In the cart you need to create a new column, lets call it prodType.

In the add to cart buttons set the prodType column to 1 for Aluminum Signs, 2 for Steel Signs and 3 for Vinyl Decals.


now create 3 shipping charges:

Aluminum Signs Shipping:
Triggers:
Number of Items With a specific Column Value:
If the number of items where "prodType" has a value of "1" is ">" a value of "0"

Calculation:
Based on Items With a Specific Value:
Total Of "Quantity" Where "prodType" has a value of "1" "times" "4.95"


Steel Signs Shipping:
Triggers:
Number of Items With a specific Column Value:
If the number of items where "prodType" has a value of "2" is ">" a value of "0"

Calculation:
Based on Items With a Specific Value:
Total Of "Quantity" Where "prodType" has a value of "2" "times" "6.95"


Vinyl Decal Shipping:
Triggers:
Number of Items With a specific Column Value:
If the number of items where "prodType" has a value of "3" is ">" a value of "0"

Calculation:
Based on Items With a Specific Value:
Total Of "Quantity" Where "prodType" has a value of "3" "times" "0.99"

Sign in to reply to this post

Dan808

Where do I edit the "add to cart buttons"?

Hello Jason,
Following the steps you outlined for "Columns and Shipping Charges" was very simple and straight forward once I realized that I had to use the (eCart Object Panel) to make the changes.

Your reply also stated... "In the add to cart buttons set the prodType column to 1 for Aluminum Signs, 2 for Steel Signs and 3 for Vinyl Decals."
Can you point me in the right direction for locating and editing the "add to cart buttons" columns?

I think it's hiding in a place I haven't looked. :-)


Sincerest Thanks,
Dan

Sign in to reply to this post

Jason ByrnesWebAssist

In the Server behaviors panel, look for a server behavior called eCart add to cart and double click it.

On the bindings tab of the Add to cart server behaviors, you can set values for the cart columns.

Sign in to reply to this post

Dan808

Something seems to be missing?

When I click the bindings tab I only have "eCart Object (WA_Store_Cart)"

I don't have "eCart add to cart"

Does it matter which page I have open at the time?

I will keep trying to figure this out over the weekend.

I would greatly appreciate hearing back from you before then if you get this reply on time. If not, have a nice weekend and Thank You for the assistance up till now!

Dan

Sign in to reply to this post

Jason ByrnesWebAssist

Yes, it does matter which page is open for the modifying the add to cart buttoin behavior.


This step needs to be performed on any page that you have already, or are going to, applied the eCart Add to Cart button behavior.

Sign in to reply to this post

Dan808

eCart server behaviors and bindings

Jason,
I am using PowerStore 2.
It looks like the only Server Behavior/Bindings I should have to edit is on the Products_Detail.php page?
Is that correct?

Thanks for answering my last post before the weekend.
I'll let you know how it goes. :)

Sign in to reply to this post

Jason ByrnesWebAssist

Yes, you should only need to change the product_detail page.

Sign in to reply to this post

Dan808

"eCart Add to Cart" not in Server Behavior entries?

Hello Jason,
Can you help me clear up a few questions so I can continue onward into the fog?
Your instructions seem real clear but my code is reading a bit different.


JASON replied:
In the cart you need to create a new column, lets call it prodType.

OK, So with cart.php open I open eCart Object panel, click on edit, and created a new column called prodType....
There is also a drop down menu titled "Output Type"
Do I have to change the Output Type to "Number" or "Currency" instead of the default setting of "Text"?





JASON then replied:
In the add to cart buttons set the prodType column to 1 for Aluminum Signs, 2 for Steel Signs and 3 for Vinyl Decals.

OK, So I opened the Products_Detail.php page (where my add to cart button is) and here is where things are different from what you replied... On my Products_Detail.php page I do NOT have a Server Behavior entry called "ecart Add to cart" -
However there is a Server Behavior entry called "eCart Add From Recordset (WA_Store_Cart, WADAProducts)"
I'm almost sure these are not one and the same. Are they?

HELP?




JASON then replied:
Create 3 shipping charges with triggers and calculations,
I am comfortable doing that.



NOTE: I am using POWERSTORE 2.



Thank You,
Best Wishes and Best of Luck to everyone!
Dan

Sign in to reply to this post

Jason ByrnesWebAssist

  Do I have to change the Output Type to "Number" or "Currency" instead of the default setting of "Text"?  



It is not 100% percent necessary to change the out put from text. Since we will be using numeric values, you _could_ change it to Number, but you dont have to.


  However there is a Server Behavior entry called "eCart Add From Recordset (WA_Store_Cart, WADAProducts)"
I'm almost sure these are not one and the same. Are they?  



Yes, the eCart Add From Recordset is the same server behavior. It gets named slightly different in the Server behaviors list based on the choice of "Add Static item To Cart" or "Look up Item ID From recordset"

Sign in to reply to this post
loading

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