1 Attachment(s)
Stop sale based on wrong attribute selection?
If a customer selects either New, or Exchange from the Option Attribute, a core charge is required, if Option Attribute “Re-bond” is selected, then no core is required.
How do you stop a customer from checking out with “no core required” when they select “New or Exchange”?
Attachment 17517
Re: Stop sale based on wrong attribute selection?
Would suggest reducing the number of options and incorporate the core fee into the applicable attributes. It appears that core is optional for rebond. Therefore would have four active attributes, new with core, exchange with core, rebond with core, and rebond without core.
Then there is no incorrect selection regarding the core charge.
Otherwise javascript to validate the selections, additional code to process the options selected and then return/respond with whatever message is applicable and just for these attributes. Another option would be some form of dependent attribute options where the customer can only select the options available based on the previous selection...
Re: Stop sale based on wrong attribute selection?
Quote:
Originally Posted by
mc12345678
Would suggest reducing the number of options and incorporate the core fee into the applicable attributes. It appears that core is optional for rebond. Therefore would have four active attributes, new with core, exchange with core, rebond with core, and rebond without core.
This is what I suggested to my client, but now I will pass the idea on to him about having the custom code built.
I consider this matter solved.