Submit button as UI macro

samadam
Kilo Sage

I have a Submit button using this UI macro but doesn't work when clicked on the button. Any suggestions on how to fix this? Same code works for other catalog items.

 

<?xml version="1.0" encoding="utf-8" ?>
<j:jelly trim="false" xmlns:j="jelly:core" xmlns:g="glide" xmlns:j2="null" xmlns:g2="null">
<div class="orderButton">
<a class="request_catalog_button addtlBtn" onClick="orderNow();">Submit</a>
</div>
</j:jelly>

5 REPLIES 5

Have you tried using the Cart API? Have your UI Macro execute the Cart API, it should raise the request