Open Bhargavasrinivas opened 4 years ago
if you are processing checkout through StoreFrontApi, can you please share your code with me? I am getting an error on Polling for shipping rates gives error "Failed to reschedule GraphQL query execution". And I havn't found a correct solution.
Hi I need to add some custom attributes to Products while checkout , here i need to pass Gift Wrap option as a Custom attribute , Below is my code snippate
private List attributvalue = new ArrayList<>();
attributvalue.add(new Storefront.AttributeInput("Gift Wrap", "Yes") );
input = new Storefront.CheckoutCreateInput() .setLineItemsInput(Input.value(datalist) ).setCustomAttributesInput(Input.value(attributvalue));
but still no luck for me its not adding any Custom attributes to checkout . Any help is appreciated.