If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / Pass Customer Variables into Cart?

Pass Customer Variables into Cart?

Started by datatv on 3 Jul 2012, 7:21 PM · Views: 722

Results 1 to 4 of 4
3 Jul 2012, 7:21 PM
#1
datatv avatar

datatv

Zen Follower

Join Date:
Jun 2008
Posts:
170
Plugin Contributions:
0

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.

3 Jul 2012, 7:39 PM
#3
datatv avatar

datatv

Zen Follower

Join Date:
Jun 2008
Posts:
170
Plugin Contributions:
0

Re: Pass Customer Variables into Cart?

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

3 Jul 2012, 7:59 PM
#4
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

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.