Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Custom Attribute Position - Stock/Special Order Notice

Custom Attribute Position - Stock/Special Order Notice

Locked

Views: 1,552

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
27 May 2008, 2:32 PM
#1
chrisdrumm avatar

chrisdrumm

New Zenner

Join Date:
Jul 2005
Posts:
53
Plugin Contributions:
0

Custom Attribute Position - Stock/Special Order Notice

Here is what I have in mind - If someone has done something similar to this, a little insight would be appreciated...

I want to make up an attribute called something like "Stock Status" and the values ounder it would be - Drop shipped item, In Stock, Special Order, Backorder, etc...

No problems there, but what I want is to come up with a bit of code to pull just this single attribute (when present) and display it outside the normal attribute position - say, just below the price (and conversely, not show it with the other attributes)

Basicaly I'm trying to make a custom stock status notice so I can let my customers be aware of what their getting into when they are ordering certian special items.

Just wondering if I'm headed down the right path or if there may be a better soultion.

31 May 2009, 3:17 AM
#2
swamyg1 avatar

swamyg1

Zen Follower

Join Date:
Dec 2008
Location:
San Fran
Posts:
382
Plugin Contributions:
0

Re: Custom Attribute Position - Stock/Special Order Notice

ChrisDrumm:

Here is what I have in mind - If someone has done something similar to this, a little insight would be appreciated...

I want to make up an attribute called something like "Stock Status" and the values ounder it would be - Drop shipped item, In Stock, Special Order, Backorder, etc...

No problems there, but what I want is to come up with a bit of code to pull just this single attribute (when present) and display it outside the normal attribute position - say, just below the price (and conversely, not show it with the other attributes)

Basicaly I'm trying to make a custom stock status notice so I can let my customers be aware of what their getting into when they are ordering certian special items.

Just wondering if I'm headed down the right path or if there may be a better soultion.

Were you able to figure out a solution for this? I'm running into the same situation and would really appreciate some help. Thanks!

31 May 2009, 4:14 AM
#3
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Location:
Seligman, MO U.S.A.
Posts:
2,072
Plugin Contributions:
1

Re: Custom Attribute Position - Stock/Special Order Notice

O.k., maybe it's late, maybe I'm just tired, but I don't see what you're trying to do that's not built in.

Zen-Cart already subtract your stock, and you can display your stock levels to your customers.

What am I missing?

31 May 2009, 4:34 AM
#4
swamyg1 avatar

swamyg1

Zen Follower

Join Date:
Dec 2008
Location:
San Fran
Posts:
382
Plugin Contributions:
0

Re: Custom Attribute Position - Stock/Special Order Notice

Get Em Fast:

O.k., maybe it's late, maybe I'm just tired, but I don't see what you're trying to do that's not built in.

Zen-Cart already subtract your stock, and you can display your stock levels to your customers.

What am I missing?

We are trying to create a product that doesn't subtract stock and doesn't display stock levels to customers. This is a special order product that we don't actually have in stock.

Every other product in the store will subtract stock and display stock levels, except for this special order product.

Does it make sense now?

31 May 2009, 4:55 AM
#5
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Location:
Seligman, MO U.S.A.
Posts:
2,072
Plugin Contributions:
1

Re: Custom Attribute Position - Stock/Special Order Notice

Ahhh, yep, even for tired eyes, that cleared it right up.
Hmmmm.....sounds possible......I'll look into it more in the morning......well, my morning comes about Noon (central time). Can't be too hard, can it?

31 May 2009, 11:48 AM
#6
chrisdrumm avatar

chrisdrumm

New Zenner

Join Date:
Jul 2005
Posts:
53
Plugin Contributions:
0

Re: Custom Attribute Position - Stock/Special Order Notice

I gave up on this a bit, but I would still be interested in using it... It seems like I need some sort of custom template for that attribute. The main issue is finding where the code is that pulls up attributes. Maybe I'll tackle this a bit myself again.