Your account is limited to posting only in the Pre-Sales Questions forum.
Support forum access is limited to members with a purchase history.

If you are working on behalf of another member, please contact us with the name of the license holder and we will upgrade your account.
   
2 of 2
2
Inventory Management
Posted: 29 March 2011 06:17 PM   [ Ignore ]   [ # 16 ]
Administrator
Avatar
RankRank
Total Posts:  352
Joined  2010-01-21

I’m not actually using a select, each option actually has its own buy now button:

{boards}<li>
    
{exp:cartthrob:add_to_cart_form entry_id="{entry_id}" return="cart/index" show_errors="yes"}
    {
!--{inventory:reduce entry_id="{entry_id}" quantity="1"--}
    
<div>
        <
input type="hidden" name="item_options[boards]" value="{option_value}">
        <
button type="submit">Buy now</button>
    </
div>
    
{/exp:cartthrob:add_to_cart_form}
</li>
{/boards} 
 Signature 

Freelance web designer & ExpressionEngine Pro Network developer

Profile
 
 
Posted: 29 March 2011 07:09 PM   [ Ignore ]   [ # 17 ]
Administrator
Avatar
RankRankRank
Total Posts:  3369
Joined  2009-05-29

Still not sure what’s up. Screen of the matrix for that entry?

Profile
 
 
Posted: 29 March 2011 07:22 PM   [ Ignore ]   [ # 18 ]
Administrator
Avatar
RankRank
Total Posts:  352
Joined  2010-01-21

Attached.

Image Attachments
Screen shot 2011-03-30 at 8.19.59 AM.png
 Signature 

Freelance web designer & ExpressionEngine Pro Network developer

Profile
 
 
Posted: 29 March 2011 07:34 PM   [ Ignore ]   [ # 19 ]
Administrator
Avatar
RankRankRank
Total Posts:  3369
Joined  2009-05-29

Hm. Does {option_value} get printed out properly in the source of the page?

Profile
 
 
Posted: 29 March 2011 07:42 PM   [ Ignore ]   [ # 20 ]
Administrator
Avatar
RankRank
Total Posts:  352
Joined  2010-01-21

Yep and it shows up correctly in the cart too inside cart_items_info as {item_options:boards}.

 Signature 

Freelance web designer & ExpressionEngine Pro Network developer

Profile
 
 
Posted: 30 March 2011 11:26 AM   [ Ignore ]   [ # 21 ]
Administrator
Avatar
RankRankRank
Total Posts:  3369
Joined  2009-05-29

I’m stumped! Will you send me access to the site so I can see what’s wrong?

Profile
 
 
   
2 of 2
2