Forums / Setting Up Categories, Products, Attributes / Attributes turned off with out deleting

Attributes turned off with out deleting

Locked

Views: 1,853

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
2 Jun 2008, 1:15 AM
#1
mikeyg avatar

mikeyg

Totally Zenned

Join Date:
May 2005
Posts:
515
Plugin Contributions:
0

Attributes turned off with out deleting

Is it possible to have an attribute not show for a product without deleting it in the attribute controller.

2 reasons for this;

  1. if you delete it from the attribute controller it throws out the stock by attributes table and I get a load of blank attributes. I seem to have a load of product with out attribute description showing in the stock by attribute table all of a sudden (this may be a different bug but I think it is related)
  2. and the main reason; some times a product goes out of stock for a long time and I would like to hide the attribute, however if I delete it when it comes back into stock it has to be recreated and will be recreated with a new ID number - I am linking to my accounts programme and it creates a sku based on the product_ID and the ID in the stock by attributes table - this ends up changing if I have to delete it in the attributes controller.

Hope this makes sense help would be appreciated.

Thnks

MG

2 Sep 2008, 5:07 AM
#2
briskday avatar

briskday

New Zenner

Join Date:
Sep 2007
Posts:
18
Plugin Contributions:
0

Re: Attributes turned off with out deleting

I would also like to be able to "turn off" attributes temporarily.

We run various fund raising campaigns so I add an attribute to our 'donation' product to keep track of how successful the campaign is. When I deleted the attribute to add a new campaign we lost the records of the last campaign.

2 Sep 2008, 5:46 AM
#3
ajeh avatar

ajeh

Oba-san

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

Re: Attributes turned off with out deleting

There isn't a method to temporarily delete or disable attributes at this time ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

8 Oct 2008, 8:15 AM
#4
petek avatar

petek

Zen Follower

Join Date:
Jan 2008
Location:
Chevreuse, France
Posts:
278
Plugin Contributions:
0

Re: Attributes turned off with out deleting

Ajeh:

There isn't a method to temporarily delete or disable attributes at this time ...

This is something I'd definitely like to see in a future version of zen cart !

Pete
zc 1.3.9h
www.gardenserre.fr

8 Oct 2008, 10:07 AM
#5
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: Attributes turned off with out deleting

For the time being it would be best to give some thought to the Attributes being discussed. You need to ask yourself; "How can an Attribute be used so that it never has to be deleted regardless of how it used?"

Once that question is answered you then assign the Attribute(s) accordingly. When a Product which uses that Attribute is to be temporarily unavailable, you can turn Off or Hide the Product. This should also retain previously saved information as well as adding new information when the Product is re-enabled.

In theory anyway. :smile:

The learning is in the doing.

Potent Products

8 Oct 2008, 5:01 PM
#6
petek avatar

petek

Zen Follower

Join Date:
Jan 2008
Location:
Chevreuse, France
Posts:
278
Plugin Contributions:
0

Re: Attributes turned off with out deleting

Rob, Sometimes I want to turn off attributes for a certain length of time, say when instead of offering a free accessory with the purchase of a product, I want to offer a reduction in the entire price of the product. In that case, I don't want to give the free accessory and the discount at the same time so I want to disable the free accessory product until the end of the period during which the price reduction applies. At the moment, I have to delete the attributes which is a pain.

Its just something I'd like to have, just like a spoilt kid who has everything and wants even more :D

Pete
zc 1.3.9h
www.gardenserre.fr

8 Oct 2008, 10:32 PM
#7
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: Attributes turned off with out deleting

Ok, can you not then assign a different Attribute the Product?

I'm thinking that one can apply different methods instead of deleting to see how things go. Not being a mySQL coder I'm not sure how things work within the Database for Attributes, I just know they can be difficult when wanting to use them with some customization. Perhaps talking to a mySQL coder would give you some better ideas on how to do things?

The learning is in the doing.

Potent Products

9 Oct 2008, 8:37 AM
#8
petek avatar

petek

Zen Follower

Join Date:
Jan 2008
Location:
Chevreuse, France
Posts:
278
Plugin Contributions:
0

Re: Attributes turned off with out deleting

Oh sure, it must be possible but I'd rather not overcomplicate things ! I can live with it !

Pete
zc 1.3.9h
www.gardenserre.fr

1 Nov 2008, 11:31 AM
#9
merchnation avatar

merchnation

New Zenner

Join Date:
Mar 2008
Posts:
17
Plugin Contributions:
0

Re: Attributes turned off with out deleting

Has anyone got this going yet?