• Resolved varun24041993

    (@varun24041993)


    HI,
    I have made a grocery Delivery Website and what I want is to send an email to the user after the delivery has been done. In that Email the list of products will be shown to the user and there will be checkbox in front of the every product in the list so that user can click on the checkbox to notify the shop owner which products were in bad condition after the delivery was done. I was thinking to modify the customer-completed-order.php email template in the Woocommerce plugin directory but I am not sure how I can attach the products list along with the checkbox in front of the products form in that email so that customer can checkbox the products which were not upto expectation and send us the email back.

    Also I was thinking about someway in which customer can only reply with a limited time period else the form will be expired and he will not be able to submit it back.

    Any help regarding this topic is highly appreciated and I think this kind of functionality is not being given by any plugin I have seen custom Email plugins but these don’t include the option to give details for the specific details for products.

Viewing 4 replies - 1 through 4 (of 4 total)
  • con

    (@conschneider)

    Engineer

    Hi there,

    Also I was thinking about someway in which customer can only reply with a limited time period else the form will be expired and he will not be able to submit it back.

    I think if you want to

    * setup a dynamically populated checkbox list item,
    * that pulls order items individually and
    * creates a list with each order item for a customer,

    it will take some advanced custom coding to do this.

    How about providing each item with for example an SKU and provide a link to a feedback form instead? You could have customers enter the order date first and then show a form only if the date is recent.
    They can then report back with the SKU and write some text.

    If these pile up and you feel that this should more convenient you can think of the “Auto Checkbox Form”.

    Kind regards,

    Thread Starter varun24041993

    (@varun24041993)

    Hi @conschneider thanks for the quick response You are right this will require some advance custom coding but I am not able to understand how can I do with SKU. The SKU are unique for all the items in my site can you please elaborate your point it will be highly beneficially for me.

    Rest I am thinking to do it other way using Node.js and react using the API. I will send the order ID from the app using React Native POST request on the react and node server and then a custom form will be generated using Node.js and React Which will contain check box along with the items list and then person can submit it back.

    con

    (@conschneider)

    Engineer

    Hi there,

    thanks for the quick response You are right this will require some advance custom coding but I am not able to understand how can I do with SKU. The SKU are unique for all the items in my site can you please elaborate your point it will be highly beneficially for me.

    I would:

    * Setup a simple and place it on my account so that customers must login.
    * Use a custom function get SKU from orders: https://stackoverflow.com/questions/50779953/how-to-get-the-product-sku-from-order-items-in-woocommerce
    * Have customers manually write the SKU and reason into the form as to why the product was bad

    or maybe write a template that gets each order line item from an order and populate a form with it. Like you described:

    Rest I am thinking to do it other way using Node.js and react using the API. I will send the order ID from the app using React Native POST request on the react and node server and then a custom form will be generated using Node.js and React Which will contain check box along with the items list and then person can submit it back.

    That also works.

    Kind regards,

    con

    (@conschneider)

    Engineer

    Hi there,

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

    Kind regards,

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Product Condition Feedback Email After The Product IS Delivered In Woocommerce.’ is closed to new replies.