cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Adding check box to shopping cart

ravi_kumar221
Participant
0 Kudos
231

Hi i    have to add check box in shopping cart   ui      when i create shopping cart form  product id it should be checked help ..

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Ravi,

You may knw the procedure to add the attribute to the context structure of shopping cart, since there are more discussion forums and blogs are available on adding attribute to structure and field to view of shopping cart i request to refer it. After adding the custom attribute to the structure go to view, enhance the view and create the checkbox of type key or index. map the value property to the context attribute. In post exit of modify view write the logic ie. set the default value you want to be selected while loading. Save execute and run the program.

Still if you face issues specify it clearly where you got strucked.

Thanks & Regards

Arun.K.P

ravi_kumar221
Participant
0 Kudos
ravi_kumar221
Participant
0 Kudos

hi in screen shot i have taken product id when i click on order my check box shoulsd be checked what is the logic for that help me

Former Member
0 Kudos

Hi Ravi

"hi in screen shot i have taken product id when i click on order my check box shoulsd be checked what is the logic for that help me"

My understaing: You have selected a product id, completed the SC by clicking on Order button.

But where is the check box coming here? - explain clearly

Thanks & Regards

Arun.K.P

Former Member
0 Kudos

Hi Ravi,

As Arun mentioned, which checkbox are you talking about? If there is a checkbox in the item basic data tab or something, you can do that using the BBP_DOC_CHANGE_BADI. I do not know the specifics. Please explain which checkbox you want to check on Order.

regards,

Naveen