Hi!

We're trying to re-implement our website+store with Satchmo, and are
having a few problems along the way. The list of products includes
domains in various TLDs, which need custom calculations and custom
fields as well, amongst them possibly a setup fee, a recurring fee,
maybe a transfer fee, a minimum reservation period, and maybe some more
(eg. in some cases, a business number).

To comply with German law, we (think we) need to calculate and display
the total price for a given domain name reservation up-front, along
with the price components. We handle this with a custom template tag,
which we hand the product, and which returns the total initial price to
pay.

After looking at Satchmo's stock product types, we decided to develop
our own custom product for this purpose. We hit a road block with the
approach described in the Satchmo Diaries, which appears to prevent us
from eg. using custom templates, so we re-did the whole product after
the recipe in the Satchmo docs, described here:
http://www.satchmoproject.com/docs/svn/custom-product.html

Now we have a model that describes the basics of a domain, and another
model that carries the text field that the user should use to enter his
desired domain name (eg. "example", when trying to register
"example.com"), which is linked to the original "main" model for
domains. The TLD is selected via an OptionGroup (many-to-many) widget,
part of the main model. This sort of works, but we don't see the domain
name anywhere in the database. Instead, it seems that we need to pull
it directly from the request object in a signal handler (probably on
satchmo_cart_details_query).

Earlier attempts to pull everything into one model resulted in not
being able to add domain products to the store, because suddenly, we
needed to enter the (mandatory) domain name, which we can't possibly
know, at the time we want to add the product to the shop.

Somehow, this all sounds weird, and I have trouble believing that these
should be the right things to do. Instead, my guts feeling is that we
have major problems in our understanding of Satchmo.


Maybe some of you can help us out?

TIA!


Kind regards,
--Toni++


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

Reply via email to