Chris, thanks for the reply. No, I had not run satchmo_rebuild_pricing. I
did run it after I saw your note; it made no difference.
My initial reaction is that I'm adding the custom product incorrectly, but
I've gone through the process dozens of times in various sequences and
always get the same result -- the price that a customer would see for the
custom product is $0.
I ran through it again and attempted to be as precise as possible recording
my steps:
My environment is unmodified 0.9.2 using virtualenv/virtualenvwrapper,
Python 2.7.2, OS-X.
1) clonesatchmo.py
2) cd store; ./manage.py runserver 8001
3) Add product
Category->software
Full Name->Example
Price->11.11
Save
At this point, the product appears in product listing and its price is
correctly shown as $11.11.
4) Add Option Group
Name->ExGroup
Option Items
Display value->None, Stored value->1, Price Change->0, Sort
order->0
Display value->Little, Stored value->2, Price Change->9.00,
Sort order->1
Display value->Lot, Stored value->3, Price Change->66.99, Sort
order->2
Save
5) Edit product created in step 3
Click 'Add CustomProduct'
6) In Add Custom Product view,
Click 'ExGroup' (created in step 4)
Save
Results:
A) If I view products in Satchmo admin, unit price now shows '$-0.00',
product subtypes is "('CustomProduct',)".
B) If I view product via http://localhost:8001/product/example/, ExGroup
options appear correct, but changing option value has no affect on 'Price'
-- Price remains at '-$0.00'.
C) If I view the product via
http://localhost:8001/admin/product/product/20/, the correct price of
$11.11 is shown.
If there is additional info that I can provide, please let me know.
--Ma
On Thursday, 7 June 2012 20:31:03 UTC-5, Chris Moffitt wrote:
>
> I can't reproduce this. Did you try running python manage.py
> satchmo_rebuild_pricing ?
>
> -Chris
>
>
--
You received this message because you are subscribed to the Google Groups
"Satchmo users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/satchmo-users/-/mLPP1V_cWm0J.
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.