GithubHelp home page GithubHelp logo

Comments (4)

frisi avatar frisi commented on August 20, 2024

in version 0.5 i used the setting include_shipping_costs that has been removed in the meantime.
https://github.com/bluedynamics/bda.plone.cart/blob/0.5/src/bda/plone/cart/browser/__init__.py#L53

our use-case:
computation of shipping costs is too complex (depends on weight, country to ship to, phase of the moon, etc) so we simply add a note to the checkout form that shipping costs will be put on the recipe (see screenshots above)
displaying shipping costs: 0 is misleading in this case.

two possible solutions:

A)
I'd make the display of the shipping costs also depend on IShopCartSettings.summary_total_only

B)
alternatively, I'd add a new setting IShopCartSettings.hide_shipping_costs if you guys need a more fine grained solution.
this would simply not list the shipping costs in the cart and checkout form

from bda.plone.shop.

frisi avatar frisi commented on August 20, 2024

@rnixx , @jensens, @agitator and others using this package:
please tell me what you do thinks about the idea to also hide shipping costs in case IShopCartSettings.summary_total_only is set to True

from bda.plone.shop.

ezvirtual avatar ezvirtual commented on August 20, 2024

Hi @frisi and all, did you end up proceeding with this line of thinking at all? It does seem sensible to have optionally hide shipping costs as per your use case outlined above.

from bda.plone.shop.

rnixx avatar rnixx commented on August 20, 2024

Basically it's a good idea to have the possibility to hide shipping costs. I would prefer to have it as separate option, thus introduce IShopCartSettings.hide_shipping_costs

from bda.plone.shop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.