Results 1 to 10 of 11

Hybrid View

  1. #1
    Join Date
    Oct 2007
    Posts
    11
    Plugin Contributions
    0

    Default Re: A Product which has Attributes that are other products?

    OK, Zen Heroes, is this REALLY outside the scope of the Zen Cart?

    Does the status for this one change with 1.38?

    What we want is to be able to create a product that is a combination of other products....

  2. #2
    Join Date
    Mar 2008
    Posts
    67
    Plugin Contributions
    0

    Default Re: A Product which has Attributes that are other products?

    Need to revive this thread im afraid.... do we have an answer?.... i really need to get this working aswell :)

  3. #3
    Join Date
    Aug 2008
    Posts
    1
    Plugin Contributions
    0

    Default Re: A Product which has Attributes that are other products?

    I'm having the same problem. Only solution I can come up with is to make attributes and products from the same thing. This will screw up the inventory tracking, but its a sacrifice I might have to make.

    Please let me know if anyone can figure this one out.

  4. #4
    Join Date
    May 2008
    Posts
    10
    Plugin Contributions
    0

    Default Re: A Product which has Attributes that are other products?

    I'll join the chorus for this question.

    In my case I'm selling music - both a hard CD and/or mp3 downloads. I need both options to inhabit one product info page, hence the idea of attributes. But I need two independently functioning Add to Cart buttons - one for the CD and one for the downloads section. In other words, customers should be able to buy just the downloads without buying the hard CD.

    I modified tpl_product_music_info_display.php to call a new file tpl_modules_music_attributes.php (instead of tpl_modules_attributes.php) so that I could customize music attributes, which will always be downloads. Then I had the zany idea that I could insert something like this at the beginning of tpl_modules_music_attributes.php in order to get a second form and Add to Cart button for the downloads:

    Code:
    </form>
    
    <div id="productAttributes">
    
    <!--bof Form start-->
    <?php echo zen_draw_form('cart_quantity', zen_href_link(zen_get_info_page($_GET['products_id']), zen_get_all_get_params(array('action')) . 'action=add_product'), 'post', 'enctype="multipart/form-data"') . "\n"; ?>
    <!--eof Form start-->
    No luck. I have a very basic familiarity with PHP, so I'm not sure what to try here. For one thing, zen_href_link(zen_get_info_page($_GET['products_id']) is getting the product ID of, well, the product obviously (which is the CD). I'm sure there are other problems as well.

    Suggestions?

    Thanks,

    tated

  5. #5
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: A Product which has Attributes that are other products?

    This is built in to Zen Cart ...

    Option Name: Format (or anything you want)
    Option Value: CD (or whatever)
    Attribute Weight: 3

    Option Name: Format (or anything you want)
    Option Value: Zip File (or whatever)
    Attribute Weight: 0
    Download Name: blahblah.zip

    Now the product will know it is a Download by that filename being there and you will have no shipping and not see the checkout_shipping page and when there isn't the Download it will see the weight on the attribute for the CD and know to use shipping and you will see the checkout_shipping ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  6. #6
    Join Date
    May 2008
    Posts
    10
    Plugin Contributions
    0

    Default Re: A Product which has Attributes that are other products?

    Thanks Linda. In other words, make the CD another attribute of the general product. That makes sense, but there are a couple other specs I need to accomplish:

    - Customers need to be able to select a quantity for the CD option, while they shouldn't be able to select download quantities (downloads are set up as checkboxes now)

    - I'm working with a fairly specific page design from my client, who wants to visually separate the CD purchase section (top of the page) from the downloads (bottom of the page, below images and description). That's how I arrived at the two Add to Cart buttons.

    I'm probably staring at the way to sort this out, but I don't see it yet. Thanks for any more good pointers.

  7. #7
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: A Product which has Attributes that are other products?

    Have you an URL to this product that we can look at?

    Are your choices like:
    CD
    -- or --
    MP3
    -- or --
    Zip

    Or, are you doing different tracks? Or how are you using your checkboxes?

    I was looking at:
    Format:
    CD
    Download

    with the choices being radio button or dropdown ... but they all belong to the same Option Name ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 

Similar Threads

  1. v151 Setting 2 attributes, other one has stock that is visible, other one doesnt have stoc
    By Juhanuha in forum Setting Up Categories, Products, Attributes
    Replies: 15
    Last Post: 30 May 2013, 06:53 AM
  2. Display product images that are hosted on other servers?
    By Claire88 in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 30 Jan 2010, 08:01 AM
  3. Discount product that is priced by attributes and has quantity discounts
    By mkopecky in forum Setting Up Specials and SaleMaker
    Replies: 1
    Last Post: 29 Jan 2009, 10:38 PM
  4. products with attributes are attributes to other products
    By highlander in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 16 May 2007, 03:39 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