Luke,
I'm not very well versed with Satchmo, but does the product allow custom
currencies? If so, you could add a new currency and put a condition {
%ifequals ...%} in order to display your string?
-Tres
On Fri, Mar 11, 2011 at 8:22 PM, Luke <[email protected]> wrote:
> Some products in our client's store don't have a set price. We want
> to just display 'call for price' and not let these items be added to
> inventory.
>
> I would think that we could accomplish this simply by not setting any
> price on the product, but this displays $0.00.
>
> I can make my own custom version of the satchmo_currency.py file to
> modify the 'currency' filter, and look for a value of 0, then return
> my 'call for price' string there. Then I'd only need to change the {%
> load satchmo_currency satchmo_category %} line at the top of the
> templates. But this solution would loose the ability to have a
> product with a set price of $0
>
> So I could add a price of $-1 or something, and look for that price
> instead. But don't these both seem kinda ugly solutions?
>
> Am I missing some obvious spot to put this in? Is there just a method
> on Product that I can override to have this custom behavior?
>
> Thanks much,
> Luke
>
> --
> You received this message because you are subscribed to the Google Groups
> "Satchmo users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/satchmo-users?hl=en.
>
>
--
- [email protected]
--
You received this message because you are subscribed to the Google Groups
"Satchmo users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/satchmo-users?hl=en.