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. v151 Create extra upload page after adding to cart
    By arjanschip in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 27 Jan 2013, 12:01 AM
  2. Stumped trying to move "Your Cart is Empty" beside "Create Account"
    By sophie666 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 28 Feb 2012, 12:02 AM
  3. Adding an extra cart action ... help needed!
    By possum in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 18 Nov 2007, 12:36 PM
  4. Extra! Extra! Zen Cart Owners Manual Available!
    By Kim in forum Zen Cart Release Announcements
    Replies: 0
    Last Post: 10 Feb 2007, 04:45 PM
  5. Trying to rename extra pages
    By Aranea in forum General Questions
    Replies: 7
    Last Post: 24 Oct 2005, 08:14 AM

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