The support forum is in archive (read-only) mode and access is limited to members with a purchase history.

For technical support, please visit our support page.

General questions or topics can also be discussed on the ExpressionEngine StackExchange.

   
 
Add item discount to purchased_items channel data - Also where are the docs for the Per-item discount registry
Posted: 01 October 2013 03:09 PM   [ Ignore ]
Has a Great Personality
Rank
Total Posts:  37
Joined  2011-10-14

Hi,

In my shop, i have coupon codes setup that give you a discount on certain products.

In my purchased items channel, i have an extra field called “purchased_discount”.

What i would like to do is something like this

<input type=“hidden” value=”{the_item_discount}” name=“item_options[purchased_discount]” />

in the {exp:cartthrob:update_cart_form}.

Is this even possible bearing in mind the different kinds of coupons there are?

I’ve just seen “Per-item discount registry” in the changelog but no docs for it at all? It sounds perfect for what i need. Can you point me to any docs or tags for this please?

Thanks

[ Edited: 01 October 2013 03:34 PM by johnb ]
Profile