Forums / All Other Contributions/Addons / Problems with addon: Dynamic Drop Downs for Stock By Attribute

Problems with addon: Dynamic Drop Downs for Stock By Attribute

Started by dunk on 5 Jan 2009, 10:22 PM · Views: 17,433

Results 21 to 40 of 57
9 Mar 2010, 2:00 AM
#21
creinold avatar

creinold

Zen Follower

Join Date:
Sep 2008
Location:
North Highlands, California 95660
Posts:
287
Plugin Contributions:
0

Problems with addon: Dynamic Drop Downs for Stock By Attribute

Mod works great for me. Doesn't seem to have any problems. Installed it fine.

I am just trying to figure a way to make the out of stock items that are out of stock just grey out (disable) so it cant be selected, and the items in stock only selectable.)

Then it will be keen. ;) That how they are doing it on eBay Variation auctions. Would love a similar effect.

[Attachment no longer available]

:cool:

http://www.sidewalkstyles.com Comfort Footwear, Accessories and More.
creinold SBA with Dynamic Drop Downs latest Alpha release: http://www.sidewalkstyles.com/creinold_SBA5.0_alpha_version1.5_for_zencart_V1.5.0.zip

9 Mar 2010, 8:16 AM
#22
kobra avatar

kobra

Black Belt

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

Re: Problems with addon: Dynamic Drop Downs for Stock By Attribute

creinold:

That how they are doing it on eBay Variation auctions. Would love a similar effect.
All you need is a room full of coders like they have...

Zen-Venom Get Bitten

14 Mar 2010, 3:02 AM
#23
creinold avatar

creinold

Zen Follower

Join Date:
Sep 2008
Location:
North Highlands, California 95660
Posts:
287
Plugin Contributions:
0

Re: Problems with addon: Dynamic Drop Downs for Stock By Attribute

well actual if I can figure out where to insert this:

disabled="disabled"

in this mods code, it will do the same thing. =)

Looks like it some kind of javascript written in php?

http://www.sidewalkstyles.com Comfort Footwear, Accessories and More.
creinold SBA with Dynamic Drop Downs latest Alpha release: http://www.sidewalkstyles.com/creinold_SBA5.0_alpha_version1.5_for_zencart_V1.5.0.zip

27 Mar 2010, 9:32 AM
#24
karzan avatar

karzan

New Zenner

Join Date:
Feb 2010
Posts:
10
Plugin Contributions:
0

Re: Problems with addon: Dynamic Drop Downs for Stock By Attribute

I've installed this mod also. After a while and testing I figured out that the stock by attributes module MUST be Stock by Attributes 1.4.9 by niestudio. With that combination it works quite well. Except for some small problems.

Firstly I found out that there is a problem with attribute images. If you have only one attribute on a product the images wont show.

Secondly it seems that gift vouchers can not be ordered alone. I am not quite sure if this was caused by Dynamic Dropdown or Stock by Attributes mod since I installed them at the same time.

Thirdly if you delete an order (say customer resturns stuff) and want to also return the stock it does not work correctly. This might be because of Stock by Attributes is not working as it should.

Does anyone have any solution for attribute images or for the voucher problem?

27 Mar 2010, 1:32 PM
#25
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Problems with addon: Dynamic Drop Downs for Stock By Attribute

Not completely true.. While this might work with that particular version of SBA, it was written for and will work with the KUROI version of SBA..

As I've stated in previous posts, the dynamic attributes module only works with ONE set of settings, and even then it does not work well.. While I know it's desired behavior, the module simply doesn't work well, and for me and my clients I would prefer a FULLY functioning module than one that only works partially..

KarZan:

I've installed this mod also. After a while and testing I figured out that the stock by attributes module MUST be Stock by Attributes 1.4.9 by niestudio. With that combination it works quite well. Except for some small problems.

Firstly I found out that there is a problem with attribute images. If you have only one attribute on a product the images wont show.

Secondly it seems that gift vouchers can not be ordered alone. I am not quite sure if this was caused by Dynamic Dropdown or Stock by Attributes mod since I installed them at the same time.

Thirdly if you delete an order (say customer resturns stuff) and want to also return the stock it does not work correctly. This might be because of Stock by Attributes is not working as it should.

Does anyone have any solution for attribute images or for the voucher problem?

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

28 Mar 2010, 8:30 AM
#26
karzan avatar

karzan

New Zenner

Join Date:
Feb 2010
Posts:
10
Plugin Contributions:
0

Re: Problems with addon: Dynamic Drop Downs for Stock By Attribute

Maybe I did something wrong since I could not get it to work with any other version of SBA. Anyhow I agree with the fact that this is not a well done mod. But since I do not have time to rewrite it (with my capabilities it would just take too long :smile: ) and for now this functionality is enough and there is no other mod with similar behaviour (sequential selections).

If I get to the situation that more than two attributes is required I think I have to consider another approach. For now I am not doing this as a profession but helping my daughter with her webshop so there are only limited number of attributes in use.

But still I would like to get the attribute images to work with products with one attribute. If no one has found the solution yet I have no other possibility but to dig in to this problem my self :shocking:

20 Jul 2010, 2:40 AM
#27
pete_srcs avatar

pete_srcs

New Zenner

Join Date:
Jul 2010
Location:
Plymouth, MN
Posts:
4
Plugin Contributions:
0

Re: Problems with addon: Dynamic Drop Downs for Stock By Attribute

So after solving this problem for the 2nd time I figured I should post my solution here!

I'm using Zen 1.3.9d, with stock_by_attributes4.7 and dynamic_drop_downs_for_stock_by_attributes_1-3-4. The problem I found was with the entry in the "includes/database_tables.php" file. The instructions left out the "DB_PREFIX" part. You should add as shown below:

define('TABLE_PRODUCTS_STOCK', DB_PREFIX . 'products_with_attributes_stock');

Worked for me, hope this helps someone else out! :cool:

Pete

28 Sep 2010, 12:48 PM
#28
pete_srcs avatar

pete_srcs

New Zenner

Join Date:
Jul 2010
Location:
Plymouth, MN
Posts:
4
Plugin Contributions:
0

Re: Problems with addon: Dynamic Drop Downs for Stock By Attribute

I found another issue with this mod that might be causing problems for some. You cannot use apostrophes in the option values. For example: "Men's" and "Women's" won't work but "Mens" and "Womens" will work.

30 Sep 2010, 1:49 PM
#29
boylibre avatar

boylibre

New Zenner

Join Date:
Sep 2010
Posts:
3
Plugin Contributions:
0

Re: Problems with addon: Dynamic Drop Downs for Stock By Attribute

I have installed this module on zc1.3.9f and followed as suggested by pete_srcs post #27. It works as mentioned, it's just one small thing that bothers me. I have quite long option values and I want one of the option start with option value somewhere near the middle. Before I installed this module actually I created a dummy option value and set the order number somewhere at the center and also set this value as default so that when user selected this option, they'd be somewhere at the center.
This module adds its own dummy text but I managed to remove it, however my dummy text 'value' has gone as shown in the image.
Please help me. I just need the first option to behave like this.
Attachment #8173

30 Sep 2010, 1:58 PM
#30
boylibre avatar

boylibre

New Zenner

Join Date:
Sep 2010
Posts:
3
Plugin Contributions:
0

Re: Problems with addon: Dynamic Drop Downs for Stock By Attribute

Please ignore my previous post. I can workaround the issue by creating an attribute stock for my dummy option value. The problem now is on the default selected option value that overwrite the one set from Attribute Controller.

31 Jan 2011, 2:16 PM
#31
mikeyg avatar

mikeyg

Totally Zenned

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

Re: Problems with addon: Dynamic Drop Downs for Stock By Attribute

I seem to have got this mod working to a point but I want to show the in stock and out of stock message for sequenced drop downs. eg select colour and then select size for you t-shirt. At the moment the size out of stock does not show. I would like it to show the size in the list but show it out of stock. Allowing in the customer to backorder.

Any one got any clues. I think the answer is in the class file but I just cannot seem to work out the value to tweek to get it to work.

Thanks

2 Apr 2011, 7:02 PM
#32
swamyg1 avatar

swamyg1

Zen Follower

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

Re: Problems with addon: Dynamic Drop Downs for Stock By Attribute

I would love to be able to display this out of stock message on the product page itself, without having to display it in the dropdown... any idea how to do this?

4 Jul 2011, 5:40 PM
#33
shahram avatar

shahram

Zen Follower

Join Date:
Jul 2009
Location:
New York
Posts:
122
Plugin Contributions:
1

Re: Problems with addon: Dynamic Drop Downs for Stock By Attribute

I installed this mod on my website and everything is working good as far as showing what is out of stock, but I am having a problem where now when someone orders something the invoice is not showing the size or color that they ordered. Has anyone else had this problem? Any ideas on how I can correct this?

15 Aug 2011, 1:51 PM
#34
mattys avatar

mattys

Zen Follower

Join Date:
Sep 2006
Location:
North Devon, England, UK
Posts:
289
Plugin Contributions:
0

Re: Problems with addon: Dynamic Drop Downs for Stock By Attribute

i have v1.3.9h

all seems to be working

however, i have assigned cost values to attributes, e.g. some options add a an amount when you click add to cart, you can see it here http://www.melianpetsupplies.co.uk/index.php?main_page=product_info&cPath=86_105&products_id=329, select 'Red' and you will see the small option below, but the pound sign £ is broken

any idea how i might fix this? as i said, before upload £ sign was fine

any pointers, help, or guidance would be greatly appreciated

25 Aug 2011, 1:34 PM
#35
lindasdd avatar

lindasdd

Zen Follower

Join Date:
Jun 2007
Posts:
474
Plugin Contributions:
0

Re: Problems with addon: Dynamic Drop Downs for Stock By Attribute

shahram:

I installed this mod on my website and everything is working good as far as showing what is out of stock, but I am having a problem where now when someone orders something the invoice is not showing the size or color that they ordered. Has anyone else had this problem? Any ideas on how I can correct this?

I've had this problem too. I think it relates to the fact that sometimes people don't choose an actual option and the dropdown still lets them add it to the cart......need a fix for that....anyone got one?

-lindasdd

27 Aug 2011, 2:48 PM
#36
lindasdd avatar

lindasdd

Zen Follower

Join Date:
Jun 2007
Posts:
474
Plugin Contributions:
0

Re: Problems with addon: Dynamic Drop Downs for Stock By Attribute

I was able to correct the error of adding products with no option selected by switching to sequenced_dropdowns. Now the problem is that the dropdowns no longer show the out of stock attributes which is not how I'd like it to display.

-lindasdd

11 Nov 2011, 1:22 PM
#37
jagge avatar

jagge

Zen Follower

Join Date:
Jul 2007
Posts:
110
Plugin Contributions:
0

Re: Problems with addon: Dynamic Drop Downs for Stock By Attribute

Having same problem as Linda. When using sequenced dropdowns the Out of stock-message doesnt show? :(

12 Nov 2011, 9:50 AM
#38
lindasdd avatar

lindasdd

Zen Follower

Join Date:
Jun 2007
Posts:
474
Plugin Contributions:
0

Re: Problems with addon: Dynamic Drop Downs for Stock By Attribute

lindasdd:

I was able to correct the error of adding products with no option selected by switching to sequenced_dropdowns. Now the problem is that the dropdowns no longer show the out of stock attributes which is not how I'd like it to display.

-lindasdd

Hey Jagge,
I wasn't having a problem with mine. I wanted the out of stock flavors to not appear in the dropdown and that is how they function.

If you actually want the out of stock flavors to appear in the dropdown and say "out of stock" I'm not sure how to configure it to do that.

-lindasdd

27 Feb 2012, 6:17 PM
#39
numinix avatar

numinix

Totally Zenned

Join Date:
Apr 2007
Location:
Vancouver, Canada
Posts:
1,568
Plugin Contributions:
59

Re: Problems with addon: Dynamic Drop Downs for Stock By Attribute

To make attributes required, Zen Cart recommends adding a display only attribute as the default for your options. However, installed Dynamic Dropdowns breaks this functionality as it adds it's own default option which is not a display only attribute. Then, it uses JavaScript to require a selection.

From time to time you may still get an order without an attribute selection because JavaScript was disabled or a JS error caused the validation to fail.

I've come up with the following workaround. Open includes/functions/functions_lookups.php and find:

function zen_get_attributes_valid($product_id, $option, $value) {

Within the function find:

$check_valid = true;

Add after:

    // disallow adding attributes with a value of 0
    if ($option > 0 && $value === 0) {
      $check_valid = false;
    }