Attribute Control

Locked

Started by jsweb on 13 Sep 2006, 10:43 AM · Views: 1,953

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
13 Sep 2006, 10:43 AM
#1
jsweb avatar

jsweb

Zen Follower

Join Date:
Jul 2005
Location:
UK and Ireland
Posts:
392
Plugin Contributions:
0

Attribute Control

Hi readers,

We're hoping someone can help us further with this Attribute requirement ;)

We have added an attribute as follows:

  1. [FIELD TYPE: Drop Down box]: Logo Added to T-Shirt
    [Yes Style 1]
    [Yes Style 2]
    [Yes Style 3]
    [No]

  2. [FIELD TYPE: Drop Down box]: Logo Type
    [Logo1 + 0.25]
    [Logo2 + 0.50]
    [Logo3 + 0.75]

Notes:

Therefore if a customer select YES they want a Logo on a T-Shirt then they MUST select a Logo Type.

If the customer had select NO then we dont want them to have to select a Logo Type (or better still for that Attribute not to show up!)

We have been thinking about coding a Javascript solution to get this to work but wondered if anyone knows of a standard Zen option.

Many thanks

Jamie

The JSWeb Team
Providing Zen Cart Hosting, Design and Support services to help your business succeed online!
JSWeb | UK / Ireland ZenCart Design and Hosting Specialists

14 Sep 2006, 6:37 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Attribute Control

Thinking about this, why would you not do it this way:

Setup an attribute name of "Logo" with attribute values of:
Style 1
Style 2
Style 3
You then configure the attributes for the price increment
Provide as radio buttons or a dropdown

Customer either purchases the base item (no Logo) or selects one of the styles.

Does'nt this provide what you want?

Zen-Venom Get Bitten

14 Sep 2006, 6:52 AM
#3
ryk avatar

ryk

Totally Zenned

Join Date:
Oct 2004
Location:
Southport, UK
Posts:
3,644
Plugin Contributions:
6

Re: Attribute Control

Creating an Option of "Please choose" and mark Used For
Display Purposes Only as Yes and Default Attribute
to be Marked Selected as Yes will mean that the customer gets an error message if they do not make a selection.

Add that to Kobra's solution (not forgetting a No thanks option).

Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
20 years with Zencart !

14 Sep 2006, 9:02 AM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Attribute Control

Ryk's suggestion is a way to force the customer to make a selection of some type and if this is more to your liking, as he stated, provide the "no Thanks" option as one more attribute.

The original method allows the item to be purchased without any optional additions, or allows the customer to select one of the options that you provide.

It has been noted for some shops that forcing a selection is preferable to prevent the customer from thinking that they are getting a logo item when it has not been selected. This is at your option as to what and how you implement this.

This is normally used where one must specify say a color and you do not want them to be able to process out and not know what color they actually wanted.

Zen-Venom Get Bitten