RE: how to add custom checkout step for specific product type

thumbnail
Jamie Sammons, modified 4 Years ago. New Member Posts: 4 Join Date: 5/20/20 Recent Posts

Hi, i am new i liferay commerce.

any one do you know how can add custom checkout step for specific product type. for example when i buy a phone, visit new step in check out steps and when buy a TV can not see custom step.

 

Thanks

thumbnail
Jeffrey Handa, modified 4 Years ago. Liferay Master Posts: 541 Join Date: 12/1/08 Recent Posts

Hi Mehdi, 

In your custom checkout step, you can check the Product Type in the isActive() method and then return true or false depending on the Product Type.  

 

Jamie Sammons, modified 2 Years ago. New Member Post: 1 Join Date: 5/19/23 Recent Posts

thanks for this posting