1

I have to create an upload image option on the cart page with each cart product. If a user uploads an image using this option it should display uploaded image with the product and also visible in the admin panel after successful checkout.

Please let me know how do I achieve this functionality? Any help would be greatly appreciated.

Thank You

3
  • For this you need to customized magento default functionality. Commented Dec 27, 2016 at 13:11
  • @DhirenVasoya Thank you! Could you please provide me any reference or any example. Commented Dec 27, 2016 at 13:19
  • I post answer as way what you need to do, If this help full please accept it. Commented Dec 27, 2016 at 13:26

1 Answer 1

0

For your requirement you need to do something like this,

  1. Customized the magento checkout cart page and provide file upload with each item

  2. Save or Upload file with the used of Jquery, Prototype or Ajax.(Because page loading is not good way)

  3. After upload that file, save file path, item and Cart value in one custom table.

  4. Show all the details according to your requirement, which store in step-3.

I give you method description.

5
  • Hello @DhirenVasoya ! Thank you for brief description But I need some sample code or example. Because once I upload the Image on the cart page with a respective product and save the detail in the custom table then how do I show those values in the cart page like image name and also in the admin panel after successful checkout??? Commented Dec 28, 2016 at 4:59
  • @SanchitGupta I describe the way, now you need to put code according to that in your extension. And if you face any error into this then tell me. Commented Dec 28, 2016 at 5:07
  • @SanchitGupta you need to fetch the data from custom table based on item id and quote_id combination, that you need to save in custom table. Commented Dec 28, 2016 at 5:08
  • Okay @DhirenVasoya :) Commented Dec 28, 2016 at 5:31
  • @SanchitGupta if answer help to you, please accept so other also get help in community. Commented Dec 28, 2016 at 5:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.