Page 2 of 2 FirstFirst 12
Results 11 to 11 of 11
  1. #11
    Join Date
    Sep 2007
    Posts
    77
    Plugin Contributions
    2

    Default Re: trying to create an extra cart action

    Hi John

    What you are doing sounds interesting, and I am sure you are not the only one who would like do something like this.

    I have a couple of things to say about this. One is that the value of the attributes seems to get passed around in the product id field. While this was always curious to me, I have never had the need to go and see exactly how this worked , or why it was done this way. I figured it was a hash of some information that was stored elsewhere, or some clever arrangement of the attribute values in a determined sequence.

    That may be why you can't see any attribute values in session variable. Try looking at the productid of a product in the cart, with attributes, and of a product without attributes, and I think you will see what I mean.

    If I am right, you may have to delve into the mystery of that, to do what you want.

    The second thing that I have to say is, do you need to do it this way? My first approach would be to create a product to represent each bundle, and then decrement the relevant component product's inventories once the transaction had gone through. Of course this will only work if there are no attributes on the bundled products that need the customer to consciously set. But if only the main product in the bundle has attributes, then perhaps this might be a simpler solution that also does the job?

    That is my 2c worth. I am interested in seeing how you get on.

    Justin
    Last edited by justinhunt; 23 Mar 2010 at 02:21 AM. Reason: Not quite right
    ============
    Kuroobiya - Personalized Karate Black Belts and Dogi
    Kanebo From Japan - Kanebo Cosmetics Direct From Japan

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Creating non "standard" zen cart sites.
    By XjamathonX in forum Templates, Stylesheets, Page Layout
    Replies: 18
    Last Post: 20 Jul 2007, 04:05 AM
  2. general question: Add to cart from outside zen cart?
    By warpdesign in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 15 May 2007, 07:01 AM
  3. State Selector for Zen Cart 1.36 (with shipping estimator support)
    By Woodymon in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 22 Dec 2006, 05:29 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •