App reviews, troubleshooting, and recommendations
Hi,
I have been working on a task that basically is to when an order is submitted then add some notes to orders based on the logic in the extension.
I have read the docs and found that there is a hook named
if (our logic) { setNotes({ type: "updateNote", value:`there comes the note`, }); }
Solved! Go to the solution
This is an accepted solution.
if (our logic) { setNotes({ type: "updateNote", note:`there comes the note`, }); }
This was resolved by setting the value to note in the object passed. A slight overlook on my side.
anybody ??
This is an accepted solution.
if (our logic) { setNotes({ type: "updateNote", note:`there comes the note`, }); }
This was resolved by setting the value to note in the object passed. A slight overlook on my side.
Please explain how to pass datepicker value to note in the object passed?
You can sync the date picker's current value to this object via some state or variable so that whenever the date picker value changes the note object always gets the updated value of the date picker.
@analyst not sure about additional notes. I passed the dynamic data as note-only using
Do you know how to pass date value as note_attribute ?
hey do you might please share the whole code , as I'm
also kind of doing same task and stuck , it would ne really helpful thanks
stuck with same useApplyNoteChange().
useApplyNoteChange({
type: "updateNote",
note: "shipping note",
});
Hi,
for useApplyNoteChange to work you want to use the returned function and not pass arguments to the hook directly:
const applyNoteChange = useApplyNoteChange();
applyNoteChange({type: 'updateNote', note: 'some amazing note info'})
Hi Got it. Thanks
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024