how to add custom checkout step for specific product type

thumbnail
Jamie Sammons modifierades för 4 År sedan. New Member Inlägg: 4 Anslutningsdatum: 2020-05-20 Senaste inlägg

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 modifierades för 4 År sedan. Liferay Master Inlägg: 541 Anslutningsdatum: 2008-12-01 Senaste inlägg

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 modifierades för 2 År sedan. New Member Skicka: 1 Anslutningsdatum: 2023-05-19 Senaste inlägg

thanks for this posting