Page 281 of 359 FirstFirst ... 181231271279280281282283291331 ... LastLast
Results 2,801 to 2,810 of 3589
  1. #2801
    Join Date
    Jul 2011
    Posts
    35
    Plugin Contributions
    0

    Default Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

    I figured it out. Sorry, It was that I had two files. One thing to note is that you should not keep the same file names next to each other like Order.php and lets say Order1.php<-- using the (1) as something of a backup file. It works sometimes, but can confuse the system other times.

  2. #2802
    Join Date
    Jul 2012
    Posts
    16,798
    Plugin Contributions
    17

    Default Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

    Quote Originally Posted by Zoloworld View Post
    I figured it out. Sorry, It was that I had two files. One thing to note is that you should not keep the same file names next to each other like Order.php and lets say Order1.php<-- using the (1) as something of a backup file. It works sometimes, but can confuse the system other times.
    Actually, generally speaking, the extension (.php) should be modified in such a case of trying to take a file out of the process. Ie. .php~ or some other final extension.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #2803
    Join Date
    Jul 2011
    Posts
    35
    Plugin Contributions
    0

    Default Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

    Quote Originally Posted by mc12345678 View Post
    Actually, generally speaking, the extension (.php) should be modified in such a case of trying to take a file out of the process. Ie. .php~ or some other final extension.
    Something that I did not even think about. I will switch that in the future when experimenting. When I uploaded the picture swap mod, it had some weird language on the pages where there were attributes. I will revisit this sometime next week and play with it a bit.

  4. #2804
    Join Date
    Jul 2012
    Posts
    16,798
    Plugin Contributions
    17

    Default Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

    Quote Originally Posted by Zoloworld View Post
    Something that I did not even think about. I will switch that in the future when experimenting. When I uploaded the picture swap mod, it had some weird language on the pages where there were attributes. I will revisit this sometime next week and play with it a bit.
    Considering the method(s) of incorporation that I've been seeing (file renaming), I want to be sure you understand how software like either of these is provided. (there are other ways as well).

    The provided files ought to be the version that one would obtain if downloading a new copy of ZC, but where a file is modified, it would include code that "activates" the necessary actions for the plugin. It is possible that other software (template related or as provided by another existing installed program) may have already modified the file. Therefore replacing the file (even if by renaming an existing one) could/would remove the changes made by the other program. This is generally not desired. Instead, the goal is to add to what already exists. This is made easier by the use of comparison software such as WinMerge, Beyond Compare, etc...

    Although the above message relates to software unrelated to SBA, I have the concern regardless. That said, when you get back to it, I would suggest that issues with the attribute image swap be addressed in the forum thread for that software. :)
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  5. #2805
    Join Date
    Oct 2017
    Location
    UK
    Posts
    4
    Plugin Contributions
    0

    Default Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

    Hi mc12345678,

    Thanks for maintaining this add-on.

    I am about to upgrade my site from ZC 1.5.1 to ZC 1.5.5e and am after a little advice on this add-on. I have 2 other add-ons installed but they are both pretty simple ones (e.g. US to UK English one which alters all of one file) so are easy enough to re-implement so can be done last once everything else is running fine. I did a file compare a bit ago so have a list of the files that were altered by the 3 add-ons but am waiting for a decent amount of un-interrupted time to actually do the upgrade. This is looking like next weekend.

    I have downloaded your Git with all the files in it but was wondering if there are any instructions? I have set up a test version of my site which currently has a vanilla install of ZC 1.5.5e and the database copy has the original extra tables/fields from Stock by Attributes (I have a feeling an extra field was added to one of the tables at some point so that will need adding but I can add that in manually if necessary). So, now to where I am after some advice (and your README.md says to ask here )...

    Do I just copy the files from the 1_5_5 directory from the Git (after renaming the template and admin folders) or is this more an incremental upgrade and needs files copying from previous version folders (and/or the root) as there appears to be some files missing from just the 1_5_5 folder? I have looked back through pages of this thread and can't find an answer but if it is there and you know roughly when (or the post number) please point me in that direction.

    Thanks in advance.

  6. #2806
    Join Date
    Oct 2017
    Location
    UK
    Posts
    4
    Plugin Contributions
    0

    Default Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

    Hi mc12345678,

    Thanks for keeping this add-on alive and updated.

    I am after some quick advice before upgrading.

    I am currently running ZC 1.5.1 with 3 add-ons, one being Stock By Attributes. The other 2 are very basic add-ons so I will worry about re-implementing them once the rest is working. I am looking to upgrade this to ZC 1.5.5e probably next weekend when I will hopefully have some uninterrupted time.

    I have compared my current ZC files with the vanilla 1.5.1 files so have a list of what files were changed by each add-on. I have also downloaded your Git. I have installed 1.5.5e on top of a backup copy of my site but have yet to put the add-ons back in but the extra tables/fields for SBA are in the backup database (although I believe an extra field was added to one of the tables in a more recent update which will need adding to one of the tables - but this can be easily added manually if that is the case).

    What I would like to know is what will need copying into the new ZC version to get SBA back up and running? I have renamed the template folders to the correct template names and will do the same for the admin folder but it looks like it is more than just copying the files from the 1_5_5 folder of the Git. Do I need to copy all the version files across in order or just the ones from the root folder + the 1_5_5 folder?

    Sorry if this has been asked before but I have looked back through pages of posts in this thread and can find nothing about this. Also, apologies if this appears as a duplicate post but I tried to post similar to this earlier and it disappeared.

    Thanks in advance.

  7. #2807
    Join Date
    Jul 2012
    Posts
    16,798
    Plugin Contributions
    17

    Default Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

    Been a long day for me and I can't say I understand the history of the two posts, but they seem to contain the same basic content. While it doesn't prevent me from providing an answer, I just wish to say that posting more than once doesn't necessarily make things go faster. If they were posted elsewhere in the forum, it's actually good that they are now here.

    Anyways, the instructions remain in modification as the instructions that potteryhouse generated while accurate to the extent that he revamped the program, they identify only a limited amount of the capacity.

    So. Installation is best as such (for now) install the base includes and admin folders (there are a few YOUR_TEMPLATE related files in the includes folder). Where a template file exists already in your system, installation means to merge the changes made to support SBA with the existing template file. The includes/modules/YOUR_TEMPLATE/attributes.php file is generally the ZC 1.5.5 version with a few extra features to support some display features rather than duplicating the internal content.

    Then merge the changes made to the files associated with your version of ZC for both store and admin (includes and admin).

    You can then run the install/upgrade by logging into your admin and accessing stock_by_attr_install.php

    As far as your "extra field" in a table. Since you are upgrading the database, that field is not deleted or anything and will remain present. The question becomes if there is software that uses that field in your new install...
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  8. #2808
    Join Date
    Oct 2017
    Location
    UK
    Posts
    4
    Plugin Contributions
    0

    Default Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

    Thanks for getting back to me.

    The history of the 2 posts is that 3 hours after I posted the first post it was still not showing and my profile was still saying I hadn't posted anything. This may have been some admin thing as it was my first post but I thought maybe I hit the wrong button and cancelled it rather than posting it (been a long day here too!). Hence also the apology in the second if it showed up twice. I assume the edit/delete function disappears after a while or I would have deleted one of them. I did edit the second one slightly when first posted but there was still no sign of the first one at that time.

    I read through loads of posts by potteryhouse about 120 pages back but saw nothing about actual installation but I think you have answered most of my queries and pretty much confirmed my thoughts.

    I had another look into the missing fields (these are ones missing from my version of SBA that are now in) and there are quite a few (my main SBA table only has 5 fields whereas the install mentions 8). Looking through the install code, there appears to be code to add these in so they shouldn't be an issue.

  9. #2809
    Join Date
    Apr 2016
    Posts
    18
    Plugin Contributions
    0

    Default Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

    I was wondering if the "gift wrapping" scenario in the original release 12+ years ago was ever addressed? Adding a an attribute/option that isn't linked to other attributes offered for the product? Or are there any separate mods that achieve this? (not gift wrapping per say but an attribute for a product that isn't quantity tracked)

  10. #2810
    Join Date
    Jul 2012
    Posts
    16,798
    Plugin Contributions
    17

    Default Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

    Quote Originally Posted by ivopivo View Post
    I was wondering if the "gift wrapping" scenario in the original release 12+ years ago was ever addressed? Adding a an attribute/option that isn't linked to other attributes offered for the product? Or are there any separate mods that achieve this? (not gift wrapping per say but an attribute for a product that isn't quantity tracked)
    So, I'm not sure your method of viewing this forum "thread" but yes in the last couple of pages it has been posted how to assign data information to apply data to get a non-stock tracked attribute "portion" assigned. I thought that the stock_by_attr_install screen was also updated to reflect some of the information related. I'm still waiting for other to provide feedback on its use/success before I dig into the user interface to improve its accesibility.

    Ie. Right now a sql script has to be applied manually. There are a few ways and places I think it would be beneficial to allow applying such feature, but don't want to spend too much time on a feature if there are already major issues with it.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 

Similar Threads

  1. Problems with addon: Dynamic Drop Downs for Stock By Attribute
    By Dunk in forum All Other Contributions/Addons
    Replies: 56
    Last Post: 30 Apr 2014, 07:55 PM
  2. MySQL Problem with Product with Attribute Stock addon
    By rtwingfield in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 20 Sep 2011, 03:35 PM
  3. Hide Zero Quantity Attributes with attribute-stock addon
    By leevil123 in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 11 Feb 2010, 05:06 PM
  4. Replies: 4
    Last Post: 22 Jan 2010, 10:43 PM
  5. Price Products in the grid by 'Stock by Attribute' addon?
    By Salixia in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 27 Oct 2009, 06:03 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR