The CreatorCon Call for Content is officially open! Get started here.

How to differentiate between Add to Cart or Order Now in the Portal in an on-submit client script

avi14
Tera Contributor

Hi Developers,

 

I have a cart validation script running when a catalog item form is being submitted in the Portal. Is there a way to limit this script from running when clicking the Order Now button? It should still run when the Add to Cart item button is clicked instead.

 

Warm Regards,

Abhijith V.

0 REPLIES 0