• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
Bagisto Forum

Bagisto

  • Register
  • Login
  • Search
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups

In which file going to be save the summary of the ordered products?

Knowledge Base
2
6
573
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K
    Keerthi last edited by 12 Aug 2019, 10:56

    Hi can anyone please tell me where to save the summary of the order to database (file name)

    1 Reply Last reply Reply Quote 0
    • R
      rahul last edited by 12 Aug 2019, 11:54

      Hi @Keerthi

      Summary is just a order information which is used to show while checkout, we don't need to save it in database. You can check 'summary.blade.php' file in checkout folder of shop's view for it.

      It contains same fields of order like price, quantity, tax & total etc.

      Thanks

      1 Reply Last reply Reply Quote 0
      • K
        Keerthi last edited by 13 Aug 2019, 04:27

        Hi Rahul,

        Can you tell me in which file going to be store total, price and quantity, from there is it possible to store image url like thishttps://cdn.pixabay.com/photo/2015/12/01/20/28/road-1072823__340.jpg

        Please suggest me on this, thank you in advance.

        1 Reply Last reply Reply Quote 0
        • R
          rahul last edited by 13 Aug 2019, 05:00

          Hello @Keerthi

          You need to customise for it & can do as -

          Add column 'image' in oder_item table.

          1. Insert base image when order gets placed.
          2. Show this image where you want.
          3. This is the way, you can achieve it.

          Do this all things in your package, don't make changes in core system.

          Thanks

          1 Reply Last reply Reply Quote 0
          • K
            Keerthi last edited by Keerthi 14 Aug 2019, 09:06 14 Aug 2019, 09:06

            Hi Rahul,

            I have created one more column called 'image' in order_item table, it is storing data into order_item table when I tested with php, Can you please tell me in which controller is going to be storing the data and which controller going to be used to view data from order_items table, please tell me, for reference below are the screenshots.
            https://i.imgur.com/XxVSe9e.png

            to inserting image into order_items table, but it is storing into two rows:

            Screenshot (110).png

            1 Reply Last reply Reply Quote 0
            • K
              Keerthi last edited by 14 Aug 2019, 11:11

              Hi Rahul,

              Actually I have added 'image' column in orders table from there I can easily retrieve the image but Image is not storing after place the order. Where as I have added 'image' column in order_items table from this I can easily store the image into order_items but I don't know how to retrieve the image from order_items table, please suggest me on this problem. Thank you

              1 Reply Last reply Reply Quote 0
              1 out of 6
              • First post
                1/6
                Last post