close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Minimum Price & reduction higher quantity

Thread began 9/30/2011 1:43 pm by PimpMyInternet | Last modified 9/30/2011 2:13 pm by Jason Byrnes | 686 views | 1 replies |

PimpMyInternet

Minimum Price & reduction higher quantity

Hi,

I'm sorry if this has been covered somewhere else, but I need to know two different, but related things..

1) Can I can reduce the price of an item when someone buy more?..

i.e.

I want to set-up a cart on a wholesale clothing website where if they buy 25x hoodies the price is £25 each, however if they buy 100x of the same hoodies the price automatically reduces to £22 each... how can I do this?..

Also..

As part of the same cart (for the same hoodies) I also need to set up a minimum order, but still need to allow the customer to be able to chose how many they order...


i.e.

They need to be able to order 72x hoodies (or any random number) if they wish, BUT they CAN NOT order any less than 25x Hoodies..

How can I do this as well?..

many thanks in advance!..

(Sorry if these questions are dumb, i've not used ecart before!)

Sign in to reply to this post

Jason ByrnesWebAssist

yes, these things are possible, but a little more information is needed.

Does this apply to hoodies as a catagory? or to a particular hoodie product?

if it applies to the category, you need to add a column to the eCart object for item category to mark each item for the category it belongs to.

Then you could create a discount using the trigger:
Number of items with a specific column value

to trigger on the number of items where category is = to hoodies

in your example, the discount will be £3 each (£25 - £22), so set the calculation section of the discount to use "Based on items with a specific value:
Total of "quantity" where "catagory" has a value of "hoodie" "times" "3"


to force a minimum, you would need to do some hand coding, you would need to add an if statemetn around the checkout button on the cart display page, something like:

php:
<?php if($this->ConditionalTotal("Quantity""category""hoodies") >= "25") { ?>

checkout button here
<?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

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