Forums / General Questions / Attribute controller for each item quantity

Attribute controller for each item quantity

Started by kkdoxy on 4 Dec 2014, 11:36 AM · Views: 1,529

Results 1 to 12 of 12
4 Dec 2014, 11:36 AM
#1
kkdoxy avatar

kkdoxy

New Zenner

Join Date:
Mar 2014
Posts:
9
Plugin Contributions:
0

Attribute controller for each item quantity

Hi friends,

How do I join multiple Attributes in a single Attribute with backoffice?
Example for my question... I need to do:

Attachment 14752

Example working with other element:

Attachment 14753

Please help me

Regards

4 Dec 2014, 11:54 AM
#2
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Attribute controller for each item quantity

Don't know if there is a separate forum thread for backoffice, but if there is it would be suggested to post the questiion there.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

4 Dec 2014, 11:59 AM
#3
kkdoxy avatar

kkdoxy

New Zenner

Join Date:
Mar 2014
Posts:
9
Plugin Contributions:
0

Re: Attribute controller for each item quantity

Unintentionally i post in section backoffice ..

I do not know what the best section... sorry..

Can you help me with the problem?

Thanks

4 Dec 2014, 1:55 PM
#4
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Attribute controller for each item quantity

kkdoxy:

Unintentionally i post in section backoffice ..

I do not know what the best section... sorry..

Can you help me with the problem?

Thanks

I'm not familiar with this product and further can't seem to tell if this is a commercial product or not. From looking at the provided screen shots, I can assume that the second image is showing the display of a product having one aattribute for a product that is displayed when requesting two of the product. My further assumption is that if the product had more than one attribute then it would display the option(s) for each attribute for each product, but what is seen here is that the only attribute that is duplicated in a multi-product display is the text attribute. Therefore the solution(s) I see would be either custom coding or some form of a setting in the backoffice configuration to display all attribute combinations for each product and not just for text boxes. Thus the first colored area would have a product 1 and a product 2 section for the first attribute. In part I assume that is what you are wanting to duplicate.

If backoffice is a commercial program then the creators of it should be contacted. Otherwise suggest searching the forum for backoffice (or as two words back office) to see if there is a help thread on it and if this topic has already been covered.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

4 Dec 2014, 1:58 PM
#5
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Attribute controller for each item quantity

I might be wrong, but I think the OP is referring to Zencart admin as 'backoffice'. Beyond that, I don't understand the question.

4 Dec 2014, 2:03 PM
#6
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Attribute controller for each item quantity

Might be,but there is a group called custom sciptz that have put together back office to serve as a zen cart admin interface, and as can be seen by the example, generally speaking the screen shot doesn't look anything like a typical ZC admin screen. (Css could change that, but there appears to be other aspects missing from the view.

Also, this in some way or another is somewhat of a duplicaate thread of http://www.zen-cart.com/showthread.php?215441-Attribute-controller-for-each-item-quantity

I didn't catch which was the chicken and which was the egg, but similar questions asked in two different places.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

4 Dec 2014, 3:20 PM
#7
kkdoxy avatar

kkdoxy

New Zenner

Join Date:
Mar 2014
Posts:
9
Plugin Contributions:
0

Re: Attribute controller for each item quantity

Hi,

thanks for your messages...

i have the problem to do that example.

In other words,

If i change the quantity of the product i need to generate the number of items (input text) automatically...

if i change quantity for four produts (for example) its make 4 input text..

The image 2 I already have to work for someone else, now wanted to know how I do something similar, but with the example image 1.

Can you understand me?
best regards

4 Dec 2014, 3:35 PM
#8
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Attribute controller for each item quantity

This type of action is generally performed throughsome form of javascript or ajax. Either the page is reloaded with the results of the change in the dropdown or the area with the text field iis adjusted "automatically" by the same change.

So the applicable onaction event is tied to the dropdown and then the data is updated. For a reload, the information entered so far should be maintained (although what is to happen if data has been entered say in box 3, but now only 2 items are to be considered should be addressed possibly with an alert or that extra data should be internally maintained in case it is desired to expand the selection again.) In a full javascript implementation, well, would present the necessary information for each item in the list. On submit all associated data would be captured either from the post data for the page or the jaavascript data and then forwarded on to the processing of adding the product(s) to the database...

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

4 Dec 2014, 3:37 PM
#9
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Attribute controller for each item quantity

The screenshots look like what the customer sees when they are placing an order, not what the admin sees when setting up a product. Which is it?
To get the active display responding to the quantity entered, you would need some custom javascript coding which is far beyond forum advice.

5 Dec 2014, 10:22 PM
#10
kkdoxy avatar

kkdoxy

New Zenner

Join Date:
Mar 2014
Posts:
9
Plugin Contributions:
0

Re: Attribute controller for each item quantity

gjh42:

The screenshots look like what the customer sees when they are placing an order, not what the admin sees when setting up a product. Which is it?
To get the active display responding to the quantity entered, you would need some custom javascript coding which is far beyond forum advice.

hmm, it is very hard.. so..

Can is it possible to have attibute controllers with multiple text fields equal to quantity of products (amount), by backoffice?

Can you understand my question?

Thanks

6 Dec 2014, 1:45 PM
#11
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,119
Plugin Contributions:
56

Re: Attribute controller for each item quantity

kkdoxy:

hmm, it is very hard.. so..

Can is it possible to have attibute controllers with multiple text fields equal to quantity of products (amount), by backoffice?

Can you understand my question?

Thanks
I think I understand ... let me try to restate:

You want a TEXT-type attribute that will display a varying number of TEXT boxes, based on the quantity that the customer has entered. If the customer enters a quantity of 1, there is one text-box displayed; if the customer enters a quantity of 2, there are 2 text-boxes displayed, etc.

If that's an accurate description, then the answer is No -- there is not an attribute type that will do that. For each different "Text" value (e.g. for engraving or embroidering), the customer needs to choose a quantity of product with the current text-field, add that to their cart and then choose the product again to identify the different text-value.

6 Dec 2014, 5:43 PM
#12
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Attribute controller for each item quantity

Is it the customer that is in question or the admin? From what little I had found about this module, it seemed like it was an admin interface. Does that change the answer? (I mean, seems like would have to iterate on the text fields keeping the other information constant, and treat like adding multiple products at once.)

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...