Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2020
    Plugin Contributions

    help question Custom attributes/variants


    I have set of products that require custom/unique variants. For ex., some products would have sizes in mm, some in inches, some in cc, etc. and they all vary per product so much that I can't define those sizes upfront.

    Something like:

    I tried using 'Attributes' in zen-cart but that seem to require pre-defined set of values that can only be selected during products addition. I would like to define a custom attribute that should accept any value (and allow to set different prices) for each of the product.

    Please advise if there's a quick way to get started on this.


  2. #2
    Join Date
    Jul 2012
    Plugin Contributions

    Default Re: Custom attributes/variants

    Normally the thought is to attempt to cover the entire set of options that might be available or possible through that "pre-addition" aspect.

    I did just think of a potential way to allow almost any number of "items". It would require javascript or jquery it would seem to implement.

    Basically use a text box where the characters have a cost to them. Then use some sort of scroll/arrow type controller that adds a "character" for each up and takes one away for each down... using CSS you can hide the actual box, but show some counter of some sort for your units and the value could be stored as the number of characters...
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...
    Upgraded to Zen Cart V1.5.3 from V1.5.1 from V1.5.0 from V1.3.9h

  3. #3
    Join Date
    Feb 2006
    Tampa Bay, Florida
    Plugin Contributions

    Default Re: Custom attributes/variants

    Quote Originally Posted by jaggy View Post

    Please advise if there's a quick way to get started on this.
    There isn't. You're going to have to write a bunch of custom logic.
    That Software Guy, Plugin Moderator. Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Contributions: Quantity Discounts, Better Together, SMS on Sale, Gift Wrap at Checkout, and more.



Similar Threads

  1. v151 How do I assign unique SKUs to product variants/attributes?
    By wzeller in forum General Questions
    Replies: 3
    Last Post: 6 Sep 2013, 01:59 AM
  2. variants replaced by colons - stock by attributes 4.7
    By maryland in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 15 Jul 2010, 05:36 PM
  3. Stock by Attributes - delete variants
    By blesko in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 21 Oct 2008, 10:47 AM
  4. Lost variants?????
    By Goshawk in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 11 Oct 2006, 01:13 PM
  5. Product Variants?
    By kevinhankens in forum General Questions
    Replies: 0
    Last Post: 7 Aug 2006, 09:48 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
Zen-Cart, Internet Selling Services, Klamath Falls, OR