how to add custom checkout step for specific product type

thumbnail
Jamie Sammons, modificado 4 Anos atrás. New Member Postagens: 4 Data de Entrada: 20/05/20 Postagens Recentes

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, modificado 4 Anos atrás. Liferay Master Postagens: 541 Data de Entrada: 01/12/08 Postagens Recentes

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, modificado 2 Anos atrás. New Member Mensagem: 1 Data de Entrada: 19/05/23 Postagens Recentes

thanks for this posting