Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 2008
    Posts
    170
    Plugin Contributions
    0

    Default Pass Customer Variables into Cart?

    Setting up a new, small store for a friend of mine. Actually just one item so that would be essentially the homepage. Things is he wants it where some of the Ship to form appears on that item page and you fill it out and then click Add to Cart and then that data is already filled into the Shipping Info area of the cart.

    So my question is can ZenCart do this somehow? Kind of like EasyPopulate but in this case for customer data instead of for product data.

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Pass Customer Variables into Cart?

    It could be done if you are proficient with custom PHP coding, but is not supported in stock Zen Cart.

  3. #3
    Join Date
    Jun 2008
    Posts
    170
    Plugin Contributions
    0

    Default Re: Pass Customer Variables into Cart?

    I'm not. That's why I was looking for a tutorial on it.

  4. #4
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Pass Customer Variables into Cart?

    It is a complex and sensitive enough area of code that it should not be tackled by someone who is not familiar with PHP and the Zen Cart structure. Changing the behavior of this part of the code especially is likely to invalidate the Zen Cart PCI security certification, which you need if you are accepting credit cards on your site.

    That said, if you are not concerned about PCI validation and are a quick learner, you can probably find threads dealing with taking attribute input from products and handling it in the cart page; you may need to combine approaches from multiple posts to get the full result.

 

 

Similar Threads

  1. USPS - how do I pass variables to the module to add dimensions
    By petepdx in forum Addon Shipping Modules
    Replies: 0
    Last Post: 24 Mar 2013, 03:22 AM
  2. Can't pass variables from the form to the handler script
    By HappyLenz in forum General Questions
    Replies: 1
    Last Post: 21 Sep 2011, 09:04 PM
  3. Need variables for idevaffiliate variable pass ons?
    By s2kinteg916 in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 31 May 2009, 07:41 PM
  4. Pass Info From WebSite Into Zen-Cart?
    By SG Merc in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 18 Jul 2008, 04:03 AM
  5. pass variables using php into cart/database
    By recket in forum General Questions
    Replies: 1
    Last Post: 1 May 2008, 11:54 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