close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Minimum Order Charge

Thread began 12/21/2010 3:09 am by info344498 | Last modified 3/10/2022 10:20 am by Ray Borduin | 1782 views | 18 replies |

info344498

Minimum Order Charge

What I am trying to do is have the system compare the quantity of an item added to the basket compared to the minimum quantity that is in my database and if it is below this, add a charge on of £20.

Anyone know how to do this?

Thanks in advance.

Sign in to reply to this post

Ray BorduinWebAssist

You could add a column to the cart for MinQty and BelowCharge and set those when you add the item to the cart.

Then create a Calculation:
AddCharge = (([Quantity]<[MinQty])?[BelowCharge]:0)

and then go to the Charges tab and add a charge equal to the Total of the AddCharge column.

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

Supreme Geek

Minimum Charge Procedure

Originally Said By: Ray Borduin
  You could add a column to the cart for MinQty and BelowCharge and set those when you add the item to the cart.

Then create a Calculation:
AddCharge = (([Quantity]<[MinQty])?[BelowCharge]:0)

and then go to the Charges tab and add a charge equal to the Total of the AddCharge column.  
Sign in to reply to this post

Ray BorduinWebAssist

Go to: WebAssist->eCart->eCart Object

Select the cart object you are using and click "Edit".

Then you will see the Calculations and Charges Tabs.

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

Supreme Geek

Minimum Charge Procedure

Hey Ray,
I tried to do what you said and now I get a HTTP 500 error. So, I returned the cart to the original calculations. Please see the attached screen shots of what I did. Thanks again for your help!
All the best,

Dale Iannello

Sign in to reply to this post

Ray BorduinWebAssist

You are doing this for the entire order, not per item, so you don't need any custom columns or calculations.

You just need a charge. I have a screenshot of the charge settings I think you could use.Capture.PNG

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

Supreme Geek

Ray,
I did what you said and "Put" the eCart1_PHP.php file and the Cart file. Attached is my screen shot... Now I get a 503 Service Unavailable error. So, I deleted the charge. Now it's back to normal again. My phone is: 253-988-7944.
Thanks,
Dale

Sign in to reply to this post

Ray BorduinWebAssist

If you provide FTP access to your site then I can take a look.

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

Supreme Geek

Ray,
I responded awhile ago with my FTP info...any luck?
Thanks,
Dale

Sign in to reply to this post

Ray BorduinWebAssist

I was able to add the charge and upload the file and the page seems to work. I'm not sure why yours didn't.

Sign in to reply to this post
Did this help? Tips are appreciated...
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...