Results 1 to 7 of 7
  1. #1
    Join Date
    Feb 2013
    Posts
    111
    Plugin Contributions
    2

    red flag How do i stock based on attribute or remove attribute one sold

    I want to sell each item by bonus ball using numbers 1-49. I've got all my attributes setup and each attribute should be the same price.

    However when say number 3 is sold i want that attribute to only have a stock level of 1 so it should remove itself from selectable attributes. Is this possible with zen carts current config? or do i need a plugin if so which.

    just incase it wasn't clear what i wanted here is an example.

    I have balls 1~49 each with one available. Jimmy buys ball number 49 so now only 1~48 should show as available.

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

    Default Re: How do i stock based on attribute or remove attribute one sold

    There is stock by attributes available from github at https://github.com/potteryhouse and there is a commercial mod available by a different name that escapes mme at the moment. You would want version 1.5.4 for your current ZC.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #3
    Join Date
    Feb 2013
    Posts
    111
    Plugin Contributions
    2

    Default Re: How do i stock based on attribute or remove attribute one sold

    well that's utter junk I've now got to reinstall my backup

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

    Default Re: How do i stock based on attribute or remove attribute one sold

    Quote Originally Posted by vvomble View Post
    well that's utter junk I've now got to reinstall my backup
    Really, why? What issue did you encounter?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  5. #5
    Join Date
    Jul 2012
    Posts
    16,816
    Plugin Contributions
    17

    Default Re: How do i stock based on attribute or remove attribute one sold

    FWIW (which from the above name calling and utter lack of description of the issue encountered I doubt it matters), I reviewed the manual change that was made two days ago and saw that in the three added sections of code that a variable in all three uses was missing a letter m in a variable similar to $dispMmessage.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  6. #6
    Join Date
    Feb 2013
    Posts
    111
    Plugin Contributions
    2

    Default Re: How do i stock based on attribute or remove attribute one sold

    well took the whole site down and the admin page appears blank.

    That last message made no sense and am I supposed to know what that acronym actually means? FWIW???

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

    Default Re: How do i stock based on attribute or remove attribute one sold

    When properly merged with the existing files, I have yet to have taken a site down during installation. In fact there were even checks added to allow installation in advance of performing the admin install to prevent interruption of site traffic while it was being installed...

    So, for what it's worth (FWIW), it would seem that 1) any chance of identifying if there was an issue with the software or the installation has been lost, 2) it was installed to a live site without any testing/verification of what might happen if installed using the method that caused the issue which explains the disgruntlement...

    All in the mean while it *will* provide the options for which you are/were looking... In fact the requested condition is a perfect example of when to use SBA even if that configuration would be the easiest/simplest method of attribute control. X sub products with a quantity of 1 each to either show out-of-stock or hide the attribute upon purchase... Done... Couldn't be much easier to address/handle in the code.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 

Similar Threads

  1. Stock Control count when product with attribute sold.
    By kevin_a in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 22 Mar 2013, 07:29 PM
  2. v139h Price by Attribute issue affecting all products when one attribute is out of stock.
    By NCRS 1962 in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 11 Dec 2012, 02:11 AM
  3. One attribute based on another attribute?
    By Ripper in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 25 Oct 2012, 08:14 PM
  4. can stock by attribute work using only one attribute?
    By simwombat in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 8 Dec 2011, 03:34 PM
  5. sold out text in dropdown menu -attribute stock module
    By pshop in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 18 Oct 2009, 05:03 AM

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