Zen Cart Logo

Attributes HOW-TO

Sticky Locked

Views: 314,369

Results 161 to 180 of 438
This thread is locked. New replies are disabled.
8 Jun 2005, 1:36 PM
#161
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Attributes HOW-TO

Currently, you could use the TEXT attributes for this, but there is no calculation or measurement to that feature for what you are trying to do.

This would just give you the values as entered by the customer, in a text format.

8 Jun 2005, 3:15 PM
#162
limbo avatar

limbo

New Zenner

Join Date:
Jun 2005
Posts:
13
Plugin Contributions:
0

Re: Attributes HOW-TO

Ajeh, maybe you can give me some insight on this issue..

http://cardsthatsell.com/store/index.php?m...2&products_id=5

Is there any way to remove the extra Add button of showing on every single attribute
?
I want the user to select all attributes and then add to cart.

Also, is there any way no to show the + prefix (just the value?)

Thanks a lot!

8 Jun 2005, 3:18 PM
#163
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Attributes HOW-TO

I am not sure what you moofed up on the code, but there should only be 1 add to cart button and you appear to have two.

To not see the + you would remove the attribute prefix, but since you are adding them together, you need to decide which should have the + prefix and which should not.

8 Jun 2005, 3:45 PM
#164
limbo avatar

limbo

New Zenner

Join Date:
Jun 2005
Posts:
13
Plugin Contributions:
0

Re: Attributes HOW-TO

Thank you! Problem fixed...

the add button code was on the attribute table and was getting copied by the new attrbt. prefix is gone too.

8 Jun 2005, 5:18 PM
#165
limbo avatar

limbo

New Zenner

Join Date:
Jun 2005
Posts:
13
Plugin Contributions:
0

Re: Attributes HOW-TO

OK... I'm almost done, just a couple of questions

http://cardsthatsell.com/store/index.php?m...1&products_id=2

Does anybody knows if is possible to change the attibute text field to a text area (so the user can add multiple lines instead of having to create a new textfield) ?

And the attib file... what happens to the file? where does it get stored / sent? Is it possible to control the max size so people don't send me a 10 megapixel file?

Thanks again...

8 Jun 2005, 5:21 PM
#166
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Attributes HOW-TO

Under Maximum Values are the filesize and file extentions that you accept.

8 Jun 2005, 5:27 PM
#167
limbo avatar

limbo

New Zenner

Join Date:
Jun 2005
Posts:
13
Plugin Contributions:
0

Re: Attributes HOW-TO

Thanks... and I find a topic about the multiline issue here:

solution for the multiline issue here

8 Jun 2005, 9:19 PM
#168
mcgyver avatar

mcgyver

New Zenner

Join Date:
Jun 2005
Posts:
6
Plugin Contributions:
0

Re: Attributes HOW-TO

Ajeh:

Currently, you could use the TEXT attributes for this, but there is no calculation or measurement to that feature for what you are trying to do.

This would just give you the values as entered by the customer, in a text format.
This is what I have tried to do. The customer does enter their own measurements.

The problem I am having is that when I create the Option Name and set up the type, etc. then go to the Attribute Controller to apply the Options - nothing shows up under "Select an Option Name". I have also tried using the Option ID - still nothing to select from in the Attributes Controller. I have also entered various names: Color, Size, etc just to see what I might could get to show up. So far, blank boxes.....

Not sure what I'm doing wrong..... ::frust

9 Jun 2005, 3:57 AM
#169
drmphotos avatar

drmphotos

New Zenner

Join Date:
Mar 2005
Posts:
6
Plugin Contributions:
0

Re: Attributes HOW-TO

Ajeh:

Let's define "the same problem"
Linda Thanks again for your reply, when I say same problems I'm referring to my previous post:

1 files are loaded into the /download directory
YES

2 /pub is set to 77
YES

3 if in windows Redirect is OFF
Sorry where is this done?

4 if in unix Redirect is ON
Sorry where is this done?

5 The Option Name for the download is set to Radio Button or Dropdown
Radio Button

6 When you add the download to the Attribute you see the green dot
YES

7 The filename does not contain special characters or spaces and preferrably is a zip
ZenCarts own Test.zip file

8 you have the download in the /download direct and not in a subdirectory
As above

What error are you receiving?
None, go to open the file and says zip file is corrupt.

Can the attribute be added to the shopping cart?
YES

Can you checkout?
YES

Does it say the download is available or unavailable?
Available

Do you have a link to start the download?
YES

Thanks
drmphotos

9 Jun 2005, 1:41 PM
#170
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Attributes HOW-TO

drmphotos ... the Redirect is under the Attribute settings.

Check that the test.zip file is a valid zip and is not corrupt.

9 Jun 2005, 1:42 PM
#171
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Attributes HOW-TO

McGyver ... You created an Option Name that is set to be a Radio Button.

Did you also create an Option Value to match to the Option Name?

9 Jun 2005, 2:37 PM
#172
mcgyver avatar

mcgyver

New Zenner

Join Date:
Jun 2005
Posts:
6
Plugin Contributions:
0

Re: Attributes HOW-TO

Ajeh:

Did you also create an Option Value to match to the Option Name?

That's the next wall I've run into....

I attempted to create an option named "Text". I went with the defaults of 32 for "Size" and "Max". When I go to the "Attributes Controller" it shows the "Option Name" as "Text [text]". Under "Option Value" it shows "TEXT (Reserved for Text/Files Only Attributes)". It won't let me enter/edit anything.

The person I'm doing this for wants something like this:

**

What is your first spring hole to spring hole measurement?
[Box Here for customer-entered measurement] (Required)

What is your second spring hole to spring hole measurement?
[Box Here for customer-entered measurement] (Required)

What is your third spring hole to spring hole measurement?
[Box Here for customer-entered measurement] (Required)

What is your fourth spring hole to spring hole measurement?
[Box Here for customer-entered measurement] (Required)

What is the total number of spring holes in your frame?
[Box Here for customer-entered measurement] (Required)

What is the total length of spring?
[Box Here for customer-entered measurement] (Required)

**

I'm new to ZenCart, and to this point, the "Attributes Controller" documentation hasn't helped me a whole lot. It seems to be written for someone who has used the software before or is only trying to do ordinary (Size/Color/etc) things with it. I'm (apparently) trying to do something out of the ordinary and since I haven't seen the "Attributes" feature work successfully I'm pretty much in the dark as to how to make it work.

Again, any help, pointing in the right direction, etc will be much appreciated.

9 Jun 2005, 3:20 PM
#173
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Attributes HOW-TO

TEXT attributes are different.

You only create the Option Name. Then edit it for the size settings.

Now to add it to the product you pick the Option Name and the Option Value called TEXT [RESERVED FOR TEXT/FILES ATTRIBUTES ONLY]

10 Jun 2005, 12:33 PM
#174
mcgyver avatar

mcgyver

New Zenner

Join Date:
Jun 2005
Posts:
6
Plugin Contributions:
0

Re: Attributes HOW-TO

I guess I need the "Attributes For Dummies" version....this still is making very little sense to me.

::frust

10 Jun 2005, 2:23 PM
#175
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Attributes HOW-TO

One thing that helps is to set up a test site with a test database with the demo products loaded so you can see examples of how many of the features of Zen Cart work.

13 Jun 2005, 10:50 AM
#176
mcgyver avatar

mcgyver

New Zenner

Join Date:
Jun 2005
Posts:
6
Plugin Contributions:
0

Re: Attributes HOW-TO

Not sure how, but I finally figured out how to include the attributes I needed....

23 Jun 2005, 4:50 AM
#177
johorse avatar

johorse

New Zenner

Join Date:
Jun 2005
Posts:
3
Plugin Contributions:
0

Re: Attributes HOW-TO

Hi,
Newcomer here, playing around with attributes and have some questions.

Background: Australian site with multiple products, some of which come in various sizes (e.g. grams, kilograms). All prices in shop include 10% tax (essential GST) and have all been created with tax class - taxable goods selected. The amount of GST included is shown to the customer at checkout.

My problem is that to get the attribute price, I have to subtract 10% from it - otherwise it displays at a further 10% higher (which makes sense as I have instructed this). Ok, so with heaps more to input and all the subtracting - it will be quite an ordeal. So I think the option may be to have a price offset? (which I haven't grasped the mechanics of yet)

Could someone enlighten me?

24 Jun 2005, 1:44 AM
#178
midiwhale avatar

midiwhale

New Zenner

Join Date:
May 2005
Location:
London
Posts:
26
Plugin Contributions:
0

Re: Attributes HOW-TO

OK I've read 14 pages of this thread and my head is spinning. I just have two questions.

Turn off Priced by Attribute. This is only used when there is no (base) Product Price and the Product Display Price should be built from the lowest price of the Option Values in each of the Option Names.
<<<

I'm just trying to think of a good example of when I would do this.
I don't see why you just wouldn't always set the lowest base price and then add 0 or more than 0 depending on the options.

ie t shirts
printed 10
printed xl size 15
plain 6

You could have no base price and set priced attributes for each, but why wouldn't you do;
base price 6
Plain add 0
printed add 4
printed xl add 9.

I'm obviously missing someting fundamental here as I don't see the difference.... If the example application is wrong then that's what I'd like to know ;-)

MORE IMPORTANTLY
the formula is supposed to be

**
products_price * (attributes_price_factor - attributes_price_factor_offset)
**

That makes no sense according to the BODMAS maths order I did at school. On my calculator 0.6 for 40% comes out as (0.6 - 1 = -0.4) which on 100 is -40 which is the discount and not the discounted price.

So does "factor" not just mean multiply? Is it more like the percent sign on some calculators, except it isn't a percentage. i.e. it "adds" that to the original for you. (+ a - = -)

I don't see why you have to use an offset of 1, nearly all of the time. If you leave the one out, I've no idea what the answer it gives you is based on.

I can see why 40% discount could be 0.6 (though not very user friendly) but why does it need an offset of 1 as well.

Other than these 2 things, I understand (enough)....

Hope someone can show me the light !

24 Jun 2005, 1:53 AM
#179
midiwhale avatar

midiwhale

New Zenner

Join Date:
May 2005
Location:
London
Posts:
26
Plugin Contributions:
0

Re: Attributes HOW-TO

johorse:

SNIP

My problem is that to get the attribute price, I have to subtract 10% from it - otherwise it displays at a further 10% higher

SNIP
I don't understand what you are trying to achieve.

Surely the options also need tax applied to them?
In which case you enter them as exc. tax.
Or you could turn tax off and leave it until checkout.

There is also a store option to show tax in admin (as oopsed to public store). I'd turn that off IMHO. We need to work exc. tax for trade pricing to make sense.

But I'm thinking you are forgetting the (mysterious) 1 offset.

Do you agree that 10% surcharge is;

factor 1.1 with offset of 1.

That gives 110 for a base price of 100. Which is correct for 10% surcharge.

(15% discount is 0.85 with an offset of 1.0)

Does that help at all ?

24 Jun 2005, 2:57 AM
#180
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Attributes HOW-TO

There is a purpose to the offset on the plus/minus aspect.

There are client's that I have that need the display to read a certain way and calculate properly and having the two values allows both to happen.

For some, just the one setting is needed. Others need both.

All depends on your shop :)