close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Free shipping for a particular item

Thread began 5/27/2016 2:38 am by rob75685 | Last modified 5/27/2016 10:34 am by Ray Borduin | 698 views | 3 replies |

rob75685

Free shipping for a particular item

hi there

I have a Cart page here - http://www.davidhayward.com/cart.php - which allows the customer to add a miscellaneous payment.

I have two shipping rules based on the currency selected - flat rate of £10 for GB and $15 for US.

Trouble is if someone just adds a miscellaneous payment the shipping still gets added.

I'm trying to figure out how to offer free shipping on the miscellaneous payment.

I've tried adding a rule whereby if an item with the name of 'misc payment' is added there is no charge but the country shipping rules are overriding it. And I still need the country shipping charge if a customer adds a normal product as well as a miscellaneous payment.

Thanks for your help

Sign in to reply to this post

Ray BorduinWebAssist

You would probably have to add another column to your cart for "IsShipped" and set it to 0 or 1 where miscellaneous payments have a value of 0. Then you could include a condition in your shipping rule that requires the total of IsShipped to be greater than 0 before shipping is charged.

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

rob75685

hi Ray

I've added the IsShipped column, and set the rules to check whether the is more than one item in the Cart with IsShipped = 1 (see screengrabs)

Then On the Add to Cart code i've added the following code:

$ATC_IsShipped = floatval("0");// column binding (or value 1 for normal products)

Which all works well for the misc item but also calculates no shipping for anything else..

I've gone wrong somewhere I know... any ideas ?

Thank you !

Sign in to reply to this post

Ray BorduinWebAssist

Try using "subtotal of column IsShipped > 0"

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