Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2011
    Posts
    17
    Plugin Contributions
    0

    Default Attribute question: add/remove price when selecting options?

    Hello...I am trying to set up my Zen Cart and working on the product attributes at the moment. My question is can I set up an attribute as a default, but if another attribute is chosen it will over ride the default, but leave other attributes alone?

    Example: I am selling watter bottles. The customer needs to choose a bottle color, my colors are listed in a dropdown box. They choose one then move on down to the other attributes available. The bottle is offered with an imprint, the imprint has a screen charge involved, lets say $20, this is selected by default and they are required to choose an imprint color. They could also choose to not have an imprint, in which case they would select a different attribute, sell it to me blank, by clicking a check box next to that attribute.

    What I would prefer to have happen is this. They choose their bottle color. This product also has the screen charge checked by default (easy enough to do), then leave the imprint color as "must select before proceeding to cart" so they are forced to make an imprint color choice, UNLESS! they choose to buy them blank, then checking the box next to blank would uncheck the box next to screen charge and not force them to choose an imprint color. But also, not effect the bottle color they choose.

    Is this possible?

  2. #2
    Join Date
    Jan 2004
    Posts
    66,363
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Attribute question: add/remove price when selecting options?

    Hi,

    If you mark the product as priced-by-attributes, then you can configure each attribute to cause a price increase/decrease based on each option chosen.

    So, you could have an option as "blank" for 0.00, and additional options for "red" and "green" and "blue" as 20.00. In this case, you wouldn't have the checkbox you were talking about, but instead you could present them as either radio-buttons or as a dropdown.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Attribute question: add/remove price when selecting options?

    By adding one additional attribute value to each attrubute name, and making it "default" and for display only you can force the selection
    Make it "please choose" or "Select" or???

    I do not think it will work with the check box option as several or none can be selected when they are check boxes
    Zen-Venom Get Bitten

 

 

Similar Threads

  1. Product Price Change Selecting Attribute
    By ryanb4614 in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 29 Nov 2011, 04:49 PM
  2. Total price when selecting attributt... How to???
    By grosethsport in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 22 Aug 2009, 11:40 AM
  3. Newbie Question: How do I add Multiple Product Options/Price Options?
    By stevewag in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 19 Apr 2009, 01:16 AM
  4. Remove only certain Payment Options after selecting Shipping
    By RosscoB in forum Built-in Shipping and Payment Modules
    Replies: 6
    Last Post: 17 Mar 2009, 04:24 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR