Hi all, I am working with the "Request a Quote" fe...
# suitecommerce
a
Hi all, I am working with the "Request a Quote" feature in SCA 2019.1, and can't get transaction item options to come through properly. When items are added to the quote from the PDP, they show the selected transaction item options properly. After the quote is submitted, all of the transaction item options are lost, and the default values are used instead. Any thoughts on how to get these transaction item options to come through?
s
I have tested it on my 2019.1 site and cannot replicate it, so it looks to be something related to your instance. Building on Pablo's comment, check the data that's being sent by the form (ie in the XHR subtab of the Network tab in your browser developer tools) and what is being received/stored in NetSuite. There must be some sort of discrepancy.
a
I checked the response sent and the item options are present in the request and gone in the response: (request)
"options": [...{
"cartOptionId": "custcolwidth",
"itemOptionId": "",
"label": "Width",
"type": "text",
"value": {
"internalid": "4",
"label": "4"
}
}...]
(response)
"options": [...{
"cartOptionId": "custcolwidth",
"label": "Width",
"value": {
"internalid": ""
},
"ismandatory": true
},...]
Is there somewhere else I should look in this response? I'm going to play around with the form to see if I see anything there.
s
@Alex Cook i guess, wishlist doesn't store item options. You should check the ProductList.Model in suitescript folder,and see whether its storing those options in the custom record or not when you add one item to it.