close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues


Pre-Populated Carts and Minimum Order Question

Thread began 7/12/2013 3:37 pm by anonymous | Last modified 7/15/2013 7:14 am by Jason Byrnes | 567 views | 1 replies |


Pre-Populated Carts and Minimum Order Question

I have a few questions that I feel need to be done on the backend. I just don't know if it is possible from the end-user side (me)

I need to launch a online store geared to my clients dealers, where they will buy branded materials.

1) Some of the branded materials come free and they ALL get. Is there a way, to pre-populate the cart so it always has those items? I don't want the dealer having to remember to click on the 10 items

2) Is there a way to set a minimum order? They have to buy a certain dollar value to adhere to their COOP contract. I don't want to be reaching out to them and asking for more.

I look forward to your feedback
Thank in advance

Sign in to reply to this post

Jason ByrnesWebAssist

1) create a recordset that will return the free items on the initial shop landing page. Then use the Get contents from recrodset behavior to populate the cart.

in the server behaviors panel, click the plus button, and select eCart -> add to Cart -> Get Contents From recordset.

use an if statement around the checkout button on the cart page so it will only show if the grand total is above a certain amount:

<?php if($eCart1->GrandTotal() > 20) { ?>

<checkout button>
<?php } else { ?>
Minimum of $20 required to checkout
<?php ?>
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





Ease of use


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