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....
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....
Need to revive this thread im afraid.... do we have an answer?.... i really need to get this working aswell :)
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.
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:
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.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-->
Suggestions?
Thanks,
tated
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!
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.
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!