You could define chocolates and cards as different types of product relations to the flowers, this way you could filter and display them with checkboxes on the product page.
Another possibility would be to display all products of specific companion product groups (chocolates, cards etc.) whenever a flower product gets displayed. You could do this logic in your XSLT.
Now, when someone buys a bunch of flowers, you simply have to submit not only the quantity of the flower, but the entire checkboxes, too. Your script will scan the query string or form and call CommerceLibrary:AddToBasket for the flower and each submitted companion product.
@Doogie: I was just about to answer your question when I noticed Christian's excellent answer. He's absolutely right that that is the way to go about it. If you're interested I'd be happy to walk you through the solution in a quick demo.
Wow back into work and looking at this afresh. Thanks for the replies I will have a shot at making something like this work now. It's the confidence of knowing at's possible that helps.
A question on post cart functionality...
Is it possible to build the following senario into uCommerce for example for a florist.
A customer views a bunch of flowers.
The product view also lists say 4 little boxes of chocolates, 2 different cards and 3 kinds of vase. Each with a thumbnail and a check box
When a product is added to the backend a selection of additions as above can be chosen from to display in this list.
Then when you click "add to cart", the entire selection gets added.
Which version would be able to do this, if at all.
Doogie.
You could define chocolates and cards as different types of product relations to the flowers, this way you could filter and display them with checkboxes on the product page.
Another possibility would be to display all products of specific companion product groups (chocolates, cards etc.) whenever a flower product gets displayed. You could do this logic in your XSLT.
Now, when someone buys a bunch of flowers, you simply have to submit not only the quantity of the flower, but the entire checkboxes, too. Your script will scan the query string or form and call CommerceLibrary:AddToBasket for the flower and each submitted companion product.
Best regards
Christian
@Doogie: I was just about to answer your question when I noticed Christian's excellent answer. He's absolutely right that that is the way to go about it. If you're interested I'd be happy to walk you through the solution in a quick demo.
Starter Edition would suit your needs perfectly.
Related products is the simplest route to take by the way :)
Wow back into work and looking at this afresh. Thanks for the replies I will have a shot at making something like this work now. It's the confidence of knowing at's possible that helps.
Thanks
Glad to help :) Could I ask you to mark the question answered? It makes it easier to keep a track of outstanding items. Thanks.
is working on a reply...