what do you mean? -- S i x F e e t U p , I n c . | http://www.sixfeetup.com Phone: +1 (317) 861-5948 x605 ANNOUNCING the first Plone Immersive Training Experience | Sept. 10-11-12, 2009 http://www.sixfeetup.com/immerse
On Thu, Apr 23, 2009 at 4:45 AM, danielle davout <[email protected]> wrote: > > not completely wrong but ... nearly > > On Sat, Apr 18, 2009 at 7:44 AM, danielle davout > <[email protected]> wrote: >> 1) preliminary : what I have understood from getcore.interfaces >> >> IShippingMethod : >> it is not a method of shipping but a method of calculating shipping charges >> >> shipping_method = schema.Choice( title = _(u"Shipping Method"), >> description = _(u"Select a method >> to calculate shipping charges for orders in your store."), >> required = True, >> source = "getpaid.shipping_methods" ) >> >> you take care of preparing the goods to send, it costs you money : >> it's only method def getCost(order). >> But you can choose to say it's free whenever the order is important, >> or just apply a flat rate : IShippingMethod goes with >> IShippingMethodSettings >> (example class FlatRateShippingAdapter which implements >> IShippingMethod goes with IFlatRateShippingSettings) >> ---------------------------------------- >> >> the client chooses a service UPS, or simple mail, any service >> it's to the client to pay, you charge him to the behalf of the company >> providing the **service** >> >> one of its method is >> def getMethodName( method_id ): >> """ >> given a shipping method id, return the name of the method name >> """ >> inside this service, the choice and price offered would depend on the >> order itself (weight,...) >> def getRates( order ): >> """ return shipping rate options for an order. this should return: >> - a list of IShippingMethodRate as 'shipments' >> >> IShippingMethodRate : """A Shipment Option and Price""" >> it has been foreseen a tracking service with the last method >> getTrackingUrl() >> >> this is IShippingRate***Service*** >> example IUPSRateService >> >> 2) So to offer shippable goods on your site, you need 2 things. >> For my future website I would use the product getpaid.FlatRateShipping >> and concocted a very simple mail service taking example from >> getpaid.ups >> >> getpaid is very flexible but the flexibility have drawbacks : one is >> the vocabulary >> two >> as nothing is imposed sometimes you have to do the work on your own: for >> example >> You will have to care yourself of the problem of taxes >> >> I've never implemented a store, I miss a little bit of guidance right >> now but I am feeling free... >> >> >> >> On Fri, Apr 17, 2009 at 9:42 PM, electro <[email protected]> wrote: >>> >>> I've seen several people mention configuring the flat rate shipping >>> module, but when I select it as an available module and hit apply, no >>> additional configuration form fields appear. Extra fields show up >>> when I select UPS, but our client uses FedEx and I'm just trying to >>> get something together so they can start selling products online >>> whilst I fumble my way through writing a FedEx module. >>> >>> Zope/plone info: >>> * Plone 3.1.7 >>> * CMF 2.1.1 >>> * Zope (Zope 2.10.6-final, python 2.4.3, linux2) >>> * Python 2.4.3 (#1, May 24 2008, 13:57:05) [GCC 4.1.2 20070626 >>> (Red Hat 4.1.2-14)] >>> * PIL 1.1.5 >>> >>> Installed packages: >>> # ATVocabularyManager 1.4.2 >>> # PloneFormGen 1.5b5 >>> # PloneGetPaid 0.7.0 >>> # Three23 >>> # getpaid.report unknown >>> # getpaid.warehouse unknown >>> >>> buildout.cfg: >>> [buildout] >>> parts = >>> plone >>> zope2 >>> productdistros >>> instance >>> zopepy >>> getpaid >>> >>> unzip = true >>> >>> find-links = >>> http://dist.plone.org >>> http://download.zope.org/ppix/ >>> http://download.zope.org/distribution/ >>> http://effbot.org/downloads >>> >>> eggs = >>> elementtree >>> imsvdex >>> Products.PloneFormGen >>> Products.ATVocabularyManager >>> python-dateutil >>> zc.ssl >>> zc.creditcard >>> pysqlite >>> >>> develop = >>> >>> [plone] >>> recipe = plone.recipe.plone>=3.1.1,<3.2dev >>> >>> [zope2] >>> recipe = plone.recipe.zope2install >>> url = ${plone:zope2-url} >>> fake-zope-eggs = true >>> skip-fake-eggs = >>> additional-fake-eggs = ZODB3 >>> >>> [productdistros] >>> recipe = plone.recipe.distros >>> urls = >>> >>> http://pypi.python.org/packages/source/w/webcouturier.dropdownmenu/webcouturier.dropdownmenu-1.1.5.tar.gz >>> nested-packages = >>> version-suffix-packages = >>> >>> [instance] >>> effective-user = plone-bo3 >>> recipe = plone.recipe.zope2instance >>> zope2-location = ${zope2:location} >>> user = admin:nutshell >>> http-address = 8080 >>> debug-mode = on >>> environment-vars = >>> PYTHON_EGG_CACHE ${buildout:directory}/var/.python-eggs >>> >>> eggs = >>> ${buildout:eggs} >>> ${plone:eggs} >>> ${getpaid:eggs} >>> >>> zcml = >>> >>> products = >>> ${buildout:directory}/products >>> ${productdistros:location} >>> ${plone:products} >>> >>> [zopepy] >>> recipe = zc.recipe.egg >>> eggs = ${instance:eggs} >>> interpreter = zopepy >>> >>> extra-paths = ${zope2:location}/lib/python >>> scripts = zopepy >>> >>> [getpaid] >>> recipe = getpaid.recipe.release >>> addpackages= >>> getpaid.authorizedotnet >>> getpaid.formgen >>> getpaid.flatrateshipping >>> getpaid.ups >>> getpaid.report >>> >>> >>> >> >>> >> > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "getpaid-dev" 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/getpaid-dev?hl=en -~----------~----~----~----~------~----~------~--~---
