If this is your first visit, check our documentation. To post, register or login.
Forums / Community Contributed Add-Ons / All Other Contributions/Addons / Stock by Attributes 5.0 Beta (for v1.5.0)

Stock by Attributes 5.0 Beta (for v1.5.0)

Started by creinold on 27 Oct 2010, 6:34 PM · Views: 69,996

Results 301 to 320 of 365
23 Jul 2013, 9:37 PM
#301
mc12345678 avatar

mc12345678

Totally Zenned

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

Post #301 by mc12345678

Kevin205:

Bump..

How could this be done, one product at a time for 1000s of products with 2, 3, 4, 5 attributes for each product?

Any one with any ideas?

So, Kevin, I don't know if you also watch the EP4 thread. http://www.zen-cart.com/showthread.php?t=190417&goto=newpost
But, shortly after you posted the above question, someone else posted a similar question in that thread. Although it takes three data points to identify a trend, in many cases I respond on just two. As a result, I have been working on implementation of both a detailed and basic export/import using EP4 and the version of SBA that I have installed. (Again not sure which it really is, but once implemented shouldn't be extremely difficult to replicate for other versions).

I have it working for detailed report, though still have some tweaks to make the results more user understandable and to move away from using the stock_id number when writing back to the database.

But, that said and if you're at all familiar with github, you can go to chadderuski's github and then follow the branch to my version and download the latest available.

As I understand though, chadderruski is looking to push a significant change/update. In the meantime, I will also be rearranging my changes so that they can be easily integrated into his mods with minimal effort.

For now, the functionality of the detailed export/import is to affect quantities (and sort order if respected by output(s)) of items that already are being tracked by SBA. A basic SBA function is in the works to add tracking of stock of individually attributal product(s). So basically if you already have blue frames being tracked and want to adjust the quantity of them then you can do that with the updated code already presented (detailed SBA import/export, but if you want to add a new pink frame, then will have to wait for the new functionality (basic SBA import/export) or develop it on your own.

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

25 Jul 2013, 5:10 PM
#302
strelizia avatar

strelizia

New Zenner

Join Date:
Mar 2010
Posts:
8
Plugin Contributions:
0

Post #302 by strelizia

Hi

Will the Robophung version work with 1.5.1 Zen Cart? The install.txt says "These files are only for Zen-Cart version 1.5.0!!!"

Thanks!

25 Jul 2013, 5:51 PM
#303
mc12345678 avatar

mc12345678

Totally Zenned

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

Post #303 by mc12345678

Strelizia:

Hi

Will the Robophung version work with 1.5.1 Zen Cart? The install.txt says "These files are only for Zen-Cart version 1.5.0!!!"

Thanks!

I may be going out on a limb, but I have recently begn the process of updating from 1.5.0 to .1 (even though at any time 1.6.0 may get released), from the comparisons and the writeups out there, I would say that there is not enough changed that would prevent it's use. Realize however, in incorporating the changes any core files that are modified (or copies f in the case of templates) may be different than those of 1.5.1. Ultimately I would think the statement was made to prevent installation of the plug-in to older versions of Zen-Cart that would not (or may not) support the product as written.
That said, when doing the appropriate file comparisons care should be taken to understand what the modified does and why it is being changed. (Ie is it part of thhe plugin or there for some other reason.)

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

30 Jul 2013, 3:00 PM
#304
strelizia avatar

strelizia

New Zenner

Join Date:
Mar 2010
Posts:
8
Plugin Contributions:
0

Post #304 by strelizia

Yep, so I thought - thanks!

1 Aug 2013, 9:18 PM
#306
mc12345678 avatar

mc12345678

Totally Zenned

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

Post #306 by mc12345678

AmandaGero:

just wondering.....is this being migrated from
Stock by Attributes 4.7Multiadd WITH TABLE FILTER
http://www.zen-cart.com/downloads.php?do=file&id=838

or a different one?
Personally, I'm not sure I understand the qestion correctly. I think there are 4 or 5 versions of SBA that zen-cart recognizes as "official" versions of SBA. This thread was begun with version 5 by creinold, but then robophung picked up the software (or a similar version) and went on to develop some "improvements". So this version may now be a mix of several versions, as for migrating "from" another version, not sure that makes sense in this context. There may be attributes of that version captured in this, but I couldn't answer that aspect.

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

2 Aug 2013, 6:09 PM
#307
divavocals avatar

divavocals

Totally Zenned

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

Post #307 by divavocals

AmandaGero:

just wondering.....is this being migrated from
Stock by Attributes 4.7Multiadd WITH TABLE FILTER
http://www.zen-cart.com/downloads.php?do=file&id=838

or a different one?

IMHO, SBA is one of the most FRAGMENTED and OVER FORKED modules in use for Zen Cart.. It's hard to say WHICH version of SBA was the basis of SBA v5.0. It was contributed by creinold, then forked or updated by robophung later.. Who knows.. For the record this version seems the best of the bunch..

Best thing you can do is to download this version and do a file comparison with Winmerge or Beyond Compare to see if you can spot the differences and where they occur.

Personally I would love to see a REAL SBA solution put together that covers ALL SBA needs, and not just the one or two needs of the contributors as most of these SBA variants are setup..

Good luck..

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.

8 Aug 2013, 6:34 PM
#308
amandagero avatar

amandagero

Zen Follower

Join Date:
Feb 2009
Posts:
188
Plugin Contributions:
0

Post #308 by amandagero

The reason i was asking is because when i was using zc 1.3.8 i hired a programmer to create a module for me that would allow me to have unique product sku per attribute. he did so, but in the documentation he sent me it said that i had to have the above module that i have mentioned installed first before it would work. so i installed the sba with table filter that i mentioned, and then installed the module that he created, and it did indeed work. i used it for some time on my site, but then i decided to shut my site down and stop using zc. i have recently decided i am going to start my new site up with wordpress but i wanted to offer some of the old zc modules that i had before. i have been trying to get this one to work with 1.5 but i just cannot get it. so if you guys are close with this one, i wanted to try to merge my old files with this version, but i am really not sure why this had to be installed in the first place.

DivaVocals:

IMHO, SBA is one of the most FRAGMENTED and OVER FORKED modules in use for Zen Cart.. It's hard to say WHICH version of SBA was the basis of SBA v5.0. It was contributed by creinold, then forked or updated by robophung later.. Who knows.. For the record this version seems the best of the bunch..

Best thing you can do is to download this version and do a file comparison with Winmerge or Beyond Compare to see if you can spot the differences and where they occur.

Personally I would love to see a REAL SBA solution put together that covers ALL SBA needs, and not just the one or two needs of the contributors as most of these SBA variants are setup..

Good luck..

8 Aug 2013, 7:27 PM
#309
mc12345678 avatar

mc12345678

Totally Zenned

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

Post #309 by mc12345678

AmandaGero:

The reason i was asking is because when i was using zc 1.3.8 i hired a programmer to create a module for me that would allow me to have unique product sku per attribute. he did so, but in the documentation he sent me it said that i had to have the above module that i have mentioned installed first before it would work. so i installed the sba with table filter that i mentioned, and then installed the module that he created, and it did indeed work. i used it for some time on my site, but then i decided to shut my site down and stop using zc. i have recently decided i am going to start my new site up with wordpress but i wanted to offer some of the old zc modules that i had before. i have been trying to get this one to work with 1.5 but i just cannot get it. so if you guys are close with this one, i wanted to try to merge my old files with this version, but i am really not sure why this had to be installed in the first place.

So to me the reason is that SBA (whatever version employed) or something similar that ties the attributes available for a product directly to each product is the only way to modify a piece of information that is already unique to the product. Certainly an alternative would have been to possibly calculate on the fly, but it seems that you wanted to designate the unique SKU to that product (or at least have that ability). By using the existing program, additional programming was simplified. It may be that it could be modified to work with other versions of SBA, but would have to identify the "triggers" or interface between the two programs. Also, there may be other factors of ZC 1.5.x that are different preventing/inhibiting the use of that mod.

Basically, other SBAs may have be compatible, but the programmer had what they had and knew that it worked with that version, so I would say I don't blame them for making the statement that they did about compatibility.

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

9 Aug 2013, 12:25 AM
#310
amandagero avatar

amandagero

Zen Follower

Join Date:
Feb 2009
Posts:
188
Plugin Contributions:
0

Post #310 by amandagero

so my thing is, i want to have this available for the community since it is so wanted but i need help with it. but on the other hand i did pay alot for the programmer to do this for me. im going to keep trying to see if i can get this to work, and if i can get it to work on my own i will host it as a commercial add on, if not i will suck it up and post the package so the community may be able to figure it out.

edit: so i dont have to re-read all 30 pages, what are the known bugs for this version so far.

18 Aug 2013, 7:12 PM
#311
kevin205 avatar

kevin205

Totally Zenned

Join Date:
Dec 2012
Posts:
607
Plugin Contributions:
0

Post #311 by kevin205

While installing and comparing, "stock_by_attribute_1.5.1.1" vs "creinold_SBA5.1_alpha_version1.5_for_zencart_V1.5.0".

I noticed a field called products_options_track_stock is added to the products_options table by "creinold_SBA5.1_alpha_version1.5_for_zencart_V1.5.0". I am hoping it does as it's named. That is, If it's set to 0 for an attribute, the mod will NOT keep track of the inventory for that particular attribute or attributes. (by default it's set 1)

The shop owner has products that are **priced **by size attribute, but there are many other attributes defined as Read Only for the purposes of filtering and describing the products while searching in the product listing page, through the Dynamic Filter Mod. These read only attributes are color, shape and etc.

What is the purpose of products_options_track_stock? Because as I place a 0 in the products_options table for products_options_track_stock, it is still tracking and showing and trying to keep inventory of Color and Shape attributes.

Am I missing or doing something wrong here?

The other issues and problems that I have are:

  • Can this mod keep track of only one attribute (in this case size)?

  • How can I display the available inventory for the size attribute on the product info page?

  • Why is it that when an attribute is not in the inventory, it does not show an Out of Stock Message on the product info page?

  • If you already have products with attribute in your live site. How do populate the "products_with_attributes_stock" table with quantity data?

Using Zen Cart 1.5.1

16 Oct 2013, 11:21 AM
#312
palafirst avatar

palafirst

New Zenner

Join Date:
Oct 2011
Posts:
29
Plugin Contributions:
0

Post #312 by palafirst

Hey All...

I just installed "Stocks by Attributes" in Zen Cart 1.5.1. Everything seems to be working fine...EXCEPT...in my dropdown to choose size where I can see the quantity of each size I'm getting the HTML codes for bold so that it looks like this:

<b>Qty</b> 20

Attachment 13187

Can't figure out where that's coming from. Thanks in advance.

16 Oct 2013, 12:14 PM
#313
mc12345678 avatar

mc12345678

Totally Zenned

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

Post #313 by mc12345678

palafirst:

Hey All...

I just installed "Stocks by Attributes" in Zen Cart 1.5.1. Everything seems to be working fine...EXCEPT...in my dropdown to choose size where I can see the quantity of each size I'm getting the HTML codes for bold so that it looks like this:

<b>Qty</b> 20

Attachment 13187

Can't figure out where that's coming from. Thanks in advance.

Two thoughts, either in a language definition file or in the code that generates the information for the drop down. Do a search for Qty in your files from the admin panel. Try to identify where that is used: if there is a define statement with a word in all caps, search on the all caps word, otherwise open the code that uses the phrase specifically and should be able to follow where the html code gets put around the word if it not right where you found the phrase.

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

17 Oct 2013, 7:06 AM
#314
palafirst avatar

palafirst

New Zenner

Join Date:
Oct 2011
Posts:
29
Plugin Contributions:
0

Post #314 by palafirst

I've searched the entire Zen Cart installation and I can't find anything that looks like it could be generating the <b>Qty</b> code. It is very strange. Was hoping that someone who has used the Stock by Attributes module might have had (and fixed) the same problem. The funny thing about it is that if I choose the Radio button or Checkbox option for the size attribute then it shows Qty just fine.

17 Oct 2013, 9:46 AM
#315
mc12345678 avatar

mc12345678

Totally Zenned

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

Post #315 by mc12345678

palafirst:

I've searched the entire Zen Cart installation and I can't find anything that looks like it could be generating the <b>Qty</b> code. It is very strange. Was hoping that someone who has used the Stock by Attributes module might have had (and fixed) the same problem. The funny thing about it is that if I choose the Radio button or Checkbox option for the size attribute then it shows Qty just fine.

Well there is a difference in generation of the content, a drop down doesn't really support html, while something like a radio button and a checkbox places the text in the processing area. So you mean to say that when you went to the admin panel, tools, developer's tool kit, then in the bottom left box typed in the three letters qty, then in the next box to the right selected admin/catalog, and starting with .php tried each file type and nothing came up? Or did you search with the anchors as part of the search?

I recall having some difficulty with content of drop downs when I installed SBA, but my problem is that it was one of my first plug-ins installed and as such, I didn't totally know what I was doing, but glad that I got it working to it's limited ability and presenting the way I wanted it to.

Be sure in the word search not to force it to be case sensitive.

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

17 Oct 2013, 10:33 AM
#316
mc12345678 avatar

mc12345678

Totally Zenned

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

Post #316 by mc12345678

mc12345678:

Well there is a difference in generation of the content, a drop down doesn't really support html, while something like a radio button and a checkbox places the text in the processing area. So you mean to say that when you went to the admin panel, tools, developer's tool kit, then in the bottom left box typed in the three letters qty, then in the next box to the right selected admin/catalog, and starting with .php tried each file type and nothing came up? Or did you search with the anchors as part of the search?

I recall having some difficulty with content of drop downs when I installed SBA, but my problem is that it was one of my first plug-ins installed and as such, I didn't totally know what I was doing, but glad that I got it working to it's limited ability and presenting the way I wanted it to.

Be sure in the word search not to force it to be case sensitive.

On the other hand, it may be a field that has been populated in the database. Perhapps if you can search for other information in the vicinity of the Qty statement (or someone else remembers where this part is documented) then can narrow down what database entry contains that statement or could do a search from your mySQLadmin foor the qty entry. My previous response was provided to ensure clarity and accuracy of our discussion. This is something in addition to that if I happened to be repeating what you did or if I was wrong.

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

18 Oct 2013, 4:21 AM
#318
palafirst avatar

palafirst

New Zenner

Join Date:
Oct 2011
Posts:
29
Plugin Contributions:
0

Post #318 by palafirst

Just in case someone else comes across this problem I'm pasting the helpful private message I received from "potteryhouse."

Hi,

The forum you posted to is for a different branch of this mod, but if you are using the one I updated (1.5.1.2) than the file located at:
includes\languages\english\extra_definitions\products_with_attributes.php
is where the issue resides, simply update the file with a text editor and remove the <b> </b> found around the text.

18 Oct 2013, 1:45 PM
#319
mc12345678 avatar

mc12345678

Totally Zenned

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

Post #319 by mc12345678

palafirst:

Just in case someone else comes across this problem I'm pasting the helpful private message I received from "potteryhouse."

Hi,

The forum you posted to is for a different branch of this mod, but if you are using the one I updated (1.5.1.2) than the file located at:
includes\languages\english\extra_definitions\products_with_attributes.php
is where the issue resides, simply update the file with a text editor and remove the <b> </b> found around the text.

This file should have been identified by the search performed from ZC Admin Panel->Tools->Developers Tool Kit then entering in the Look-up in all Files Key or Name field the word qty, selecting in the All Files in Look-ups field At a minimum All Files-Catalog although All Files - Catalog/Admin would also find it, in this case selecting File Type as .php and leaving the Case Sensitive checkbox unselected then selecting the Search button to the right of that row.

As a side note, looking at the other defines applicable to the plugin described (not the one associated with this thread), there are other attributes that have < B > applied and may result in similar issues depending on how/where that plugin presents the information.

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

24 Jan 2014, 4:00 AM
#320
jenchord avatar

jenchord

New Zenner

Join Date:
May 2011
Posts:
68
Plugin Contributions:
0

Post #320 by jenchord

Hello all,
I'm looking for the best possible version of stock by attributes with dynamic dropdowns-- it seems like the version in this thread might be the best option.
I've combed through the posts in this thread but can't seem to find a working link to download the mod. http://www.robophung.net/zencart/cre...art_V1.5.0.zip
The one listed above returns a not found page.
Anybody have a working link?

Thanks zencart community for all the work!