Recent Topics

How to store ordered image into database



  • Hi,

    Can anyone please help me how to store ordered image into orders table along with grand total and quantity etc. All ordered data is storing at packeages/Webkul/Checkout/src/Cart.php, for reference please find below the screenshot,thanks in advance

    Screenshot (109).png



  • Hi,

    Can anyone please suggest me, how to store ordered image into database from order summary page. Thanks in advance



  • Hello @Keerthi

    You need to customise for it & can do as -

    1. Add column 'image' in oder_item table.
    2. Insert base image when order gets placed.
    3. Show this image where you want.

    This is the way, you can achieve it.

    If you only want to show images for order without inserting, then ca do as -

    Every order is place for product & product have images. So if you want to product images at order page then can retrieve according to product & need not to do above thing.

    Thanks


Log in to reply