Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Jan 2007
    Posts
    226
    Plugin Contributions
    0

    Default disabling option values ?

    Here is a tricky question, so I will explain it as a working example.

    A particular t-shirt can come in different colours (red, blue, green) and different sizes (small, medium, large)

    I have created the option names (colour, size) and I have created the option values for these names (red, blue and green for colour) and (small, medium and large) for size.

    How can I set it so that if a customer chooses a particular colour (let's say red), they can only choose "small" and "medium" , but "large" is not availaible ?

    Kind regards,
    Anthony

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: disabling option values ?

    Try the stock by attributes module by kuroi in the downloads/other section
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Jan 2007
    Posts
    226
    Plugin Contributions
    0

    Default Re: disabling option values ?

    Thanks for that Kobra.

    I installed the "Stock by Attributes" mod, and everything seemed to work fine until I made a purchase in my cart using one of the modded products.

    When I arrived in my cart at the "main_page=checkout" page, it came up with the following error:

    "Fatal error: Call to undefined function: zen_get_advertizer_list() in /home/xmanhos/public_html/shop/includes/templates/xman/templates/tpl_checkout_default.php on line 215"

    Has anyone had experience with this error before ?

    Kind regards,
    Anthony

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: disabling option values ?

    There is a thread for support of this module in the contributions area on this forum and I woul first look through these and post the issue there if it has not been before
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Jan 2007
    Posts
    226
    Plugin Contributions
    0

    Default Re: disabling option values ?

    Thanks for the reply Kobra.

    As I cannot seem to get the mod working properly, is there another way that you know of to achieve the same result - ie. a work around within zen-cart to do the same thing ?

    Kind regards,
    Anthony

  6. #6
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: disabling option values ?

    As I cannot seem to get the mod working properly, is there another way that you know of to achieve the same result - ie. a work around within zen-cart to do the same thing ?
    Guess I should have asked the basic questions first...

    Are you using Zen Cart 1.3.7 and patched?

    Did you apply the sql patch with the mod?

    Have you checked your files for any that might be "0" bytes?

    This mod is functioning for so many, that I do not believe that it is the mod itself, and no there is not a work around that is at all eloquent....unless you can live with a seperate product for each variable - this is #of attributes X # of attributes

    Or 3 colors times 4 sizes = 12 individual products
    Zen-Venom Get Bitten

  7. #7
    Join Date
    Jan 2007
    Posts
    226
    Plugin Contributions
    0

    Default Re: disabling option values ?

    Thank you for the reply Kobra,

    I am using zen-cart 1.37

    I have installed the following mods:
    AusPost 3.02 - with SQL patch
    Backup Mysql Plugin 1.2.10
    Checkout Payment Module 1.3 - with SQL patch
    Direct Bank Deposit 0.1
    Optional Shipping Insurance 2b
    Time Zone Offset 1.37 - with SQL patch

    I did apply the Stock by Attributes SQL patch first, before uploading the files.

    I just checked then, and none of the files that were uploaded with this mod were 0 bytes.

    Do you think it has something to do with the mods that I have already installed ?

    Thanks,
    anthony

  8. #8
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: disabling option values ?

    Looking quickly, and relying on my failing memory, these mods do not look to be one that might have altered files that are the same file name - but you can check them yourself and if there are corresponding files that are part of the mod you will have to merge the alterations between them into one combined file.
    Zen-Venom Get Bitten

  9. #9
    Join Date
    Jan 2007
    Posts
    226
    Plugin Contributions
    0

    Default Re: disabling option values ?

    Thanks for the reply Kobra.

    I have downloaded WinMerge to merge the files.

    Once I have got the two files (one on the left and one on the right), how do I actually merge the files into one ?

    Thanks,
    Anthony

  10. #10
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: disabling option values ?

    Were there like files in these mods?

    You should only be comparing mod files to each other that are the same files.

    If there are then you need to go over what lines are different and possibly do a 3way with the 2 mod files and the default file to select those lines that have been changed from the default and hope that between the mods that there are not changes to the same lines (not by number but by function)

    As long as the alterations only affect different areas/lines/functions you can concantenate(copy changes) these into one file and use it.
    Zen-Venom Get Bitten

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v150 Second set of option values dependent/based on first option selected
    By Yellowstone in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 27 Aug 2012, 04:28 PM
  2. Replies: 0
    Last Post: 28 Oct 2010, 07:08 PM
  3. Same Option name, Different option values for each product
    By pramod in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 2 May 2010, 11:31 PM
  4. Attributes - disabling product option values
    By yawningMonk in forum Setting Up Categories, Products, Attributes
    Replies: 6
    Last Post: 1 Nov 2008, 12:42 PM
  5. Whatīs that option? Option Names and Values Glo....
    By ryska in forum General Questions
    Replies: 0
    Last Post: 3 Dec 2007, 05:51 PM

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