Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Addon Related › Variation Inventory and Collect Customer Input
Tagged: customer input
- This topic has 5 replies, 3 voices, and was last updated 9 years, 6 months ago by wpCommerce.
-
AuthorPosts
-
May 12, 2015 at 4:53 pm #12631gbkovacsMember
I am using the estore to create a registration page on our conference website. I am testing and we hope to deploy July 1, 2015 for Octobers conference. I have added the variation add-on. We have classes at different times on different days. Inventory was working fine, but I added a customer input to capture the ‘students name’ (Sometimes parents or spouses will pay for others which doesn’t give us the class roster info).
It seems that the additional data breaks the unique indicator for updating the variation inventory count. Now the inventory is not adjusted when you make an entry. I created an entry without the ‘customer info’ and it still works fine. Any help is greatly appreciated. The page in not live but the site is [http://fabaconference.org/]
Thanks.
May 12, 2015 at 11:44 pm #70007adminKeymasterI am not sure what you mean by “Additional data breaks the indicator”. You want to have inventory control for your variations? Is this a new eStore item that you created while having the advanced variations addon active?
May 13, 2015 at 4:54 pm #70008gbkovacsMemberWhat I mean is that the addition of the ‘customer input data/field’ seems to break the update for the variation inventory values. I am assuming, which I should not do, that the variation inventory is keyed to the combination of the items defined. In this case (time am/pm and Artist). The addition of the customer input (i.e. student name) seems to break this unique key.
Item 16 has the ‘Customer Input’ turned on and requires you to add a student name in the input field on the screen. The Variation inventory is not updated when you purchase an item.
Item 17 uses the same data variations, but has no ‘customer input’ field. Product 17(s) variation inventory updates fine and also shows the ‘Sold Out’ box when depleted.
Below is the information from the wp_wp_estore_variations_tbl.
16 16 O:13:”inventoryInfo”:1:{s:14:”inventory_info”;a:4:{i:0;a:4:{s:11:”grp_0_row_0″;s:2:”AM”;s:11:”grp_1_row_0″;s:5:”TPD 1″;s:11:”grp_2_row_0″;s:0:””;s:21:”inventory_value_row_0″;s:1:”8″;}i:1;a:4:{s:11:”grp_0_row_1″;s:2:”AM”;s:11:”grp_1_row_1″;s:5:”TPD 2″;s:11:”grp_2_row_1″;s:0:””;s:21:”inventory_value_row_1″;s:1:”8″;}i:2;a:4:{s:11:”grp_0_row_2″;s:2:”PM”;s:11:”grp_1_row_2″;s:5:”TPD 4″;s:11:”grp_2_row_2″;s:0:””;s:21:”inventory_value_row_2″;s:1:”8″;}i:3;a:4:{s:11:”grp_0_row_3″;s:2:”PM”;s:11:”grp_1_row_3″;s:5:”TPD 3″;s:11:”grp_2_row_3″;s:0:””;s:21:”inventory_value_row_3″;s:1:”8″;}}}
17 17 O:13:”inventoryInfo”:1:{s:14:”inventory_info”;a:4:{i:0;a:4:{s:11:”grp_0_row_0″;s:2:”AM”;s:11:”grp_1_row_0″;s:5:”TPD 1″;s:11:”grp_2_row_0″;s:0:””;s:21:”inventory_value_row_0″;i:0;}i:1;a:4:{s:11:”grp_0_row_1″;s:2:”AM”;s:11:”grp_1_row_1″;s:5:”TPD 2″;s:11:”grp_2_row_1″;s:0:””;s:21:”inventory_value_row_1″;s:1:”8″;}i:2;a:4:{s:11:”grp_0_row_2″;s:2:”PM”;s:11:”grp_1_row_2″;s:5:”TPD 4″;s:11:”grp_2_row_2″;s:0:””;s:21:”inventory_value_row_2″;s:1:”8″;}i:3;a:4:{s:11:”grp_0_row_3″;s:2:”PM”;s:11:”grp_1_row_3″;s:5:”TPD 3″;s:11:”grp_2_row_3″;s:0:””;s:21:”inventory_value_row_3″;s:1:”8″;}}}
Do you thing the addition of the ‘customer input’ on the product_name field is preventing the update?
May 14, 2015 at 1:25 am #70009adminKeymasterThe customer input shouldn’t really do that. Can you temporarily disable the customer input field on that product and do a test to see what happens? Does the inventory tracking work after that option is disabled?
May 14, 2015 at 4:23 pm #70010gbkovacsMemberI disabled the ‘customer input’ and the variation inventory counters were updated upon making a purchase. I did make a coding change per a previous post: https://support.tipsandtricks-hq.com/forums/topic/require-customer-input-only-when-add-to-cart-is-clicked
This change requires the user to enter the ‘customer input’ as opposed to leaving it blank. Not sure if that caused the problem.
May 16, 2015 at 4:32 am #70011wpCommerceModerator@gbkovacs, We have made some improvements to the advanced variations ui addon. I have sent you a copy via email. Let me know if you don’t receive it.
-
AuthorPosts
- You must be logged in to reply to this topic.