Results 1 to 10 of 10

Hybrid View

  1. #1
    Join Date
    Oct 2004
    Location
    Southport, UK
    Posts
    4,244
    Plugin Contributions
    20

    Default Pizza attributes - second opinion requested

    Price of pizza changes according to toppings.

    Toppings are option values.

    All toppings same price.

    The logic behind the toppings should be:
    a = Total amount of removed toppings added together
    b = Total amount of extra toppings added together

    If b=0 or b=a or a>b the price does NOT change.
    if b>a then price=price+(b-a)

    Can ZC be coded to do that with the option value prices without re-writing the whole thing?

    I know we normally say just about anything can be done with the right skill, but this is proving a bit of a tricky one . I have asked someone who I know to be an expert and their response was no, but I'm just wondering if anyone else can think of a way to achieve this.

    Or - thinking aloud - possibly a workaround ignoring the actual value (because they are all the same) and "simply" adding up the numbers of attributes applied and doing the calculation based on that?
    Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
    20 years with Zencart !

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Pizza attributes - second opinion requested

    Ryk,

    Why the need for "remove" toppings??

    Have std offerings and a build you own with

    add 1
    add 2
    add 3
    etc
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Jun 2003
    Posts
    33,720
    Plugin Contributions
    0

    Default Re: Pizza attributes - second opinion requested

    ... gotta' have the remove - I want a Cowboy pizza minus the onions plus olives and extra mushrooms
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  4. #4
    Join Date
    Oct 2004
    Location
    Southport, UK
    Posts
    4,244
    Plugin Contributions
    20

    Default Re: Pizza attributes - second opinion requested

    Kim's got it in one!

    You should see the trouble we're having with the "Special Deals" ... Any 3 pizzas (from a range of 22) with choice of 3 sizes with the ability to add any of 32 toppings (at different prices depending on size) and remove any of an average of 4 toppings ... works out at a LOT of attributes...so many that the page grinds to a halt...oh how we long for attribute dependant attributes!
    Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
    20 years with Zencart !

  5. #5
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

    Default Re: Pizza attributes - second opinion requested

    Hello Rick!

    Where've you been hiding?

    Have you opened a PizzaHut?

  6. #6
    Join Date
    Oct 2004
    Location
    Southport, UK
    Posts
    4,244
    Plugin Contributions
    20

    Default Re: Pizza attributes - second opinion requested

    Not hiding, just busy, busy, busy ... and not PizzaHut but a small chain of 100 stores in the London area.

    It's been a very interesting project with ZC!
    Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
    20 years with Zencart !

 

 

Similar Threads

  1. v139h Second Opinion on this Drop Down
    By traytray in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 28 Jun 2013, 05:46 PM
  2. Need a second opinion...
    By DivaVocals in forum General Questions
    Replies: 12
    Last Post: 19 May 2011, 08:27 PM
  3. Pizza Attributes
    By CrabbyFatGuy in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 18 Oct 2007, 07:14 AM
  4. Pizza Store
    By alfonso.moreno in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 15 Oct 2007, 05:24 AM
  5. attributes..second dropdown dependent on first?
    By xquisite in forum Setting Up Categories, Products, Attributes
    Replies: 6
    Last Post: 25 Jul 2006, 04:34 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg