Results 1 to 8 of 8
  1. #1
    Join Date
    Apr 2010
    Posts
    14
    Plugin Contributions
    0

    Default Attribute help needed fast!

    Hi all,

    Is there a way to force people to pick an attribute, as i am selling shoes, and currently customers don't have to pick a size before adding to cart.

    Thanks

  2. #2
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,263
    Plugin Contributions
    3

    Default Re: Attribute help needed fast!

    For each option NAME that you want to force a selection, create a NEW option VALUE.

    For example: Let's say you sell t-shirts in different sizes

    Option NAME = T-shirt Size

    Option VALUES =
    • Small
    • Medium
    • Large


    Now create a NEW value called "Select a Size", and give it a sort order of 0. (zero)

    So you now have:
    Option VALUES =
    • Select a Size
    • Small
    • Medium
    • Large


    now, add that option VALUE to a product and make it Display Only (see the "legend" of button options in the Attributes Controller. I think it is the little yellow one.) Also, make it the Default Display.

    This will make ot the FIRST option displayed, and if another option is NOT selected, customers cannot add the product to the cart.
    20 years a Zencart User

  3. #3
    Join Date
    Apr 2010
    Posts
    14
    Plugin Contributions
    0

    Default Re: Attribute help needed fast!

    thanks for the quick reply.

  4. #4
    Join Date
    Apr 2009
    Location
    Edinburgh
    Posts
    130
    Plugin Contributions
    0

    Default Re: Attribute help needed fast!

    what if there is a checkbox option instead of drop down menu? I need to force customer to choose at least one option attribute (colour), cause there is a problem when when customer won't choose anything and press checkout button; checkout process will be completed but no payment or attribute chosen hence no sale

    is there any way to sort it out?

  5. #5
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,263
    Plugin Contributions
    3

    Default Re: Attribute help needed fast!

    Quote Originally Posted by safeg View Post
    what if there is a checkbox option instead of drop down menu? I need to force customer to choose at least one option attribute (colour), cause there is a problem when when customer won't choose anything and press checkout button; checkout process will be completed but no payment or attribute chosen hence no sale

    is there any way to sort it out?
    (You can't use CHECKBOXES if you need only ONE required selection. Checkboxes apply when an attribute can have more than one choice - such as a mixture of stripes on a garment eg; Choose what colour stripes you want: wheite, red, blue, green).

    Go to THIS PAGE and try to add that product to the cart WITHOUT selecting color or size...

    The way this works is to create an additional OPTION VALUE called "Please select a color" (or whatever need to be chosen), to make its sort order ZERO, make it DISPLAY ONLY, and make it the DEFAULT displayed option.

    All possible in attributes controller...
    Last edited by schoolboy; 20 May 2010 at 12:42 PM.
    20 years a Zencart User

  6. #6
    Join Date
    Apr 2009
    Location
    Edinburgh
    Posts
    130
    Plugin Contributions
    0

    Default Re: Attribute help needed fast!

    hey schoolboy :)

    Is it only working with drop down menu or radio buttons? So what are the checkboxes for? I 've been using them for colours and they suit me best (or they used to until I got 0.00 sale, because customer didn't choose colour).

    I think I will have to change it then...sigh

    thanks for your quick reply

  7. #7
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,263
    Plugin Contributions
    3

    Default Re: Attribute help needed fast!

    I explained what checkboxes are used for.

    Another example is the "Subscribe to Newsletter" feature in zencart signup. either the customer chooses to subscribe (checks the box), or does not subscribe (leaves it unchecked).

    On your site, I could choose RED and GREEN and PURPLE and ORANGE and BLUE... so how do you know which one I want? I checked ALL the boxes...

    Where only a single option is REQUIRED out of several on offer, you can only use radio buttons, or dropdown. Red OR Blue OR Yellow OR Black

    Changing these is not onerous... you just edit the option NAME element, then, if the attribute is applied across many products, use the "copy" functions in attribute controller.
    20 years a Zencart User

  8. #8
    Join Date
    Apr 2009
    Location
    Edinburgh
    Posts
    130
    Plugin Contributions
    0

    Default Re: Attribute help needed fast!

    Yeah I got it. I just can't belive I got a wrong idea about it from the very begining of my working on the shop..and now I will have to fix it, which is going to be time consuming in my case :) .. thanks again

 

 

Similar Threads

  1. v150 Attribute Controller, troubleshooting, help needed, many thanks!
    By tee-tree in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 15 Jul 2012, 04:21 AM
  2. Canada Post Attribute Dimensions - code help needed
    By sae in forum Addon Shipping Modules
    Replies: 7
    Last Post: 12 Sep 2011, 06:03 PM
  3. Attribute Positioning Help Needed
    By jabbawest in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 22 Jul 2010, 11:34 PM
  4. Help needed with attribute pricing
    By thetoychest in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 28 Apr 2008, 02:08 AM
  5. Product Attribute Help Needed Please
    By angelicdezigns in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 25 Jul 2006, 08:42 AM

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