![]() |
Customer Info and Extra Checkout Fields |
Post Reply ![]() |
Page <12 |
Author | |
coffeefirst ![]() Newbie ![]() Joined: 06 May 2020 Location: Norway Status: Offline Points: 11 |
![]() ![]() ![]() ![]() ![]() |
I tried using some of the fields but it doesn't seem to work. For instance, I'm trying to send "maxquantity" as a field to send to the cart.
Along with my <form> tag, I'm sending: <input type="hidden" name="maxquantity" value="15"> But it doesn't seem to send the value to the cart. I'm confused and have been trying to figure this out for the past week. Any other example or a small tip would be of really great help and will be very much appreciated. Thank you very much once again! |
|
![]() |
|
Support ![]() RomanCart Team ![]() Joined: 16 March 2004 Location: United Kingdom Status: Offline Points: 10738 |
![]() ![]() ![]() ![]() ![]() |
Hi,
For maxquantity.... go to 'manage'/'products' Click on the 'configure' link. Make sure the 'Override product properties stored in the product manager with parameters posted to the cart.' option is ticked, otherwise that param would be ignored. Many Thanks Support |
|
![]() |
|
coffeefirst ![]() Newbie ![]() Joined: 06 May 2020 Location: Norway Status: Offline Points: 11 |
![]() ![]() ![]() ![]() ![]() |
ok let me try it and get back to you. thank you very very much!
|
|
![]() |
|
Support ![]() RomanCart Team ![]() Joined: 16 March 2004 Location: United Kingdom Status: Offline Points: 10738 |
![]() ![]() ![]() ![]() ![]() |
Hi,
It's like your minquantity example. e.g. <input type name='firstname' value='dave'> Just add the fields to your add to cart button. Many Thanks Support |
|
![]() |
|
coffeefirst ![]() Newbie ![]() Joined: 06 May 2020 Location: Norway Status: Offline Points: 11 |
![]() ![]() ![]() ![]() ![]() |
Hi,
Thank you for getting back to me. I tried sending the "Firstname" field and it worked like a charm. However, I'm trying to post current logged in user's first name from wordpress and I'm running into an error. Here's what I'm trying: <input type="hidden" name="Firstname" value="<?php global $current_user; wp_get_current_user();?> <?php echo $current_user->first_name; ?>"> And this is the error I'm running into: Screenshot[URL=https://prnt.sc/sgbgsa ][/URL] Can you please suggest tips to debug this? Thank you very much! |
|
![]() |
|
Support ![]() RomanCart Team ![]() Joined: 16 March 2004 Location: United Kingdom Status: Offline Points: 10738 |
![]() ![]() ![]() ![]() ![]() |
Hi,
Please post or email us the URL of the WordPress page with your button on and we'll take a look. Thanks Support |
|
![]() |
Post Reply ![]() |
Page <12 |
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |