Bagisto Forum

    Bagisto

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

    How can I add input field and dropdown in product detail page.

    Knowledge Base
    2
    6
    591
    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.
    • A
      AkashWeybee last edited by

      I want to add an input field and dropdown [select box] as shown in the image.
      Please help me.!

      tempsnip.png

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

        @AkashWeybee
        you can add the input field & dropdown in product page from this path
        Default theme : https://github.com/bagisto/bagisto/blob/master/packages/Webkul/Shop/src/Resources/views/products/view.blade.php

        Velocity theme https://github.com/bagisto/bagisto/blob/master/packages/Webkul/Velocity/src/Resources/views/shop/products/view.blade.php

        1 Reply Last reply Reply Quote 0
        • A
          AkashWeybee last edited by AkashWeybee

          @Vaishali-Agarwal
          I tried to make changes but it doesn't reflect.
          Do I need to run any other commands?

          1 Reply Last reply Reply Quote 0
          • A
            AkashWeybee last edited by AkashWeybee

            @Vaishali-Agarwal
            I'm using the latest version of bagisto.
            Do I need to make changes in both files?

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

              @AkashWeybee
              If you want do these changes only for velocity theme then you need to change the velocity package file.

              Yes once the changes made then make sure run php artisan vendor:publish --force
              check here https://prnt.sc/toapnr

              1 Reply Last reply Reply Quote 1
              • A
                AkashWeybee last edited by

                @Vaishali-Agarwal
                Thank you for your constant and precious support.

                1 Reply Last reply Reply Quote 0
                • Referenced by  A Amitk-Webkul 
                • First post
                  Last post