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

Need help adding populated variable from Catalog Item to Order Confirmation Page

Gemma4
Mega Sage

Hi,

Is there a way to add one of fields that the user fills out on a catalog item form to the Order Confirmation popup?

This will allow them to review their order before they checkout as well as make changes if needed. 

I've tried to do an onload client scrip on sc_cat_item and had no luck. script below. As a result, I thought another approach would be to add the field to the Order Confirmation Page. I'm open to better ideas to achieve this if anyone has any suggestions on how to confirm the user can view one variable from the catalog item before checking out. thanks so much in advance for all your feedback.

 

unction onLoad() {
 
var requestName = g_form.getValue('request_name');
var shortDescription = g_form.getValue('short_description');
alert('requuestName = ' + requestName + ', short_description = ' + shortDescription +'.');
if (requestName && (shortDescription == 'Test Catalog item short description')) {
g_form.setValue('short_description', requestName);
}
}

request name.PNGOrderConfirmation.PNG

0 REPLIES 0