Bagisto Forum

    Bagisto

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

    Add more recently view products.

    General Discussion
    2
    7
    489
    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.
    • S
      Shirah last edited by

      Hi can I know how can I add more product in recently viewed product? I want in to display 8 instead of only 3. Can you guide me?

      Thank you.
      fix.PNG

      1 Reply Last reply Reply Quote 0
      • V
        Vaishali Agarwal last edited by

        @Shirah
        you need to customize this file to update recent view products
        https://github.com/bagisto/bagisto/blob/master/packages/Webkul/Velocity/src/Resources/views/shop/products/list/recently-viewed.blade.php

        S 1 Reply Last reply Reply Quote 0
        • S
          Shirah last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • S
            Shirah @Vaishali Agarwal last edited by

            @Vaishali-Agarwal What should I customize to?

            I change this to 8. There is only 3 products are shown. Do you mind to explain in more detail?

            fix2.PNG

            1 Reply Last reply Reply Quote 0
            • V
              Vaishali Agarwal last edited by Vaishali Agarwal

              @Shirah
              run the below command from the project root directory

              php artisan vendor:publish --force
              
              1 Reply Last reply Reply Quote 0
              • S
                Shirah last edited by

                I get this error.
                fix.PNG

                The code I change is in the resources\themes\velocity\views\home\new-products.blade.php.

                1 Reply Last reply Reply Quote 0
                • V
                  Vaishali Agarwal last edited by

                  @Shirah
                  you are running the command from the wrong directory..
                  just go the path
                  C:\wamp64\www\tronserve-commerce1\ and then run the command
                  php artisan vendor:publish --force

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post