For the template code for discounts you can check out 
product_discount_eligible.html<https://bitbucket.org/chris1610/satchmo/src/639ba035cc021f6b41d62c3853ae7f54565b7034/satchmo/apps/product/templates/product/product_discount_eligible.html?at=default>for
 ideas.

On Friday, 7 June 2013 01:17:24 UTC-4, Paul Walsh wrote:
>
> Hi,
>
> Thanks for responding.
>
> The discounts system does work, but under some circumstances it is not 
>> very intuitive.
>>
>  
> You can say that again. 
>
> First thing, what do you mean by "coupon field is inactive?" For a 
>> discount to be applied to anything, this means that the user must enter a 
>> Discount/coupon code at checkout. Otherwise no discount will be applied.
>>
>
> Isn't the idea of auto-discounts precisely that the customer would not 
> have to use a coupon code?
>  
>
>> The second tricky thing is that automatic discounts are only applied 
>> automatically (i.e the discount code field is filled in automatically in 
>> the default checkout form template) if the discount is for all items in 
>> your store.
>
>
> Ouch. I am trying to apply to one category (and children).
>  
>
>> The other thing an automatic discount does, regardless of what products 
>> it applies to, is to display a message on all the pages of the discounted 
>> products saying something like: "you can get a discount on this product if 
>> you enter the code 'discount-code' at checkout'. This is a decent 
>> behaviour, I guess.
>>
>
> Do you know what template tag is used to show such a message?
>  
>
>> The third thing about discounts is that, by default (as far as I know) 
>> the customer can apply only one discount at a time via the discount code 
>> field at checkout
>>
>> Oh and you can't really have more than one automatic discount going on at 
>> the same time. If I understand correctly Satchmo will just choose one of 
>> the discounts to make automatic.
>>
>> To summarize, yes the discounts work, but you gotta play within certain 
>> constraints ... and careful not to remove the necessary code from the 
>> templates. If there aren't efforts to improve this part of Satchmo already, 
>> there probably will be at some point soon.
>>
>
> Sounds terrible, to be honest, and can only deal with the most trivial of 
> use cases in the e-commerce world. I wish I'd investigated this issue 
> further before using Satchmo (not the first time I've said that).
>
> Thanks for your help though.
>  
>
>>
>> On Monday, 3 June 2013 04:52:44 UTC-4, Paul Walsh wrote:
>>>
>>> I am trying to setup what should be a trivial discount:
>>>
>>> 1. 25% off all items in a category
>>>
>>> 2. If an item already has a reduced price, *don't* apply the discount. 
>>> (bonus - the detect if the existing reduced price is less than 25%, reduce 
>>> it too)
>>>
>>> But, I honestly can't even get Satchmo's Discounts to work. Not the 
>>> normal ones, and not the auto ones.
>>>
>>> I am basically following this:
>>>
>>> http://www.satchmoproject.com/docs/dev/discounts.html
>>>
>>>    - I setup a new 25% discount, for category "books"
>>>    - I have auto discount on, and the coupon field is inactive 
>>>    
>>> My book pages already use the discount price filter - that is how, when 
>>> we have reduced prices, I show a comparison of the higher price and a lower 
>>> price, per item.
>>>
>>> I expect to see the discount price, 25% off the main price, showing via 
>>> the discount filter. It does not - discount price still returns my normal 
>>> price.
>>>
>>>
>>>
>>> Satchmo's built-in discount doesn't detect this... or, can it?
>>>
>>> Also, as a bonus, I'd actually like on those items with an already 
>>> reduced price, to 
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Satchmo users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/satchmo-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to