Bagisto Forum

    Bagisto

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

    Selection of configurable items on custom theme

    General Discussion
    2
    2
    399
    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
      sohaib last edited by sohaib

      we are using a custom theme. We are trying to add attributes of configurable products into or custom theme
      we are adding the following statement in view file the path of the respective file is given in this parenthesis (packages\Webkul\Shop\src\Resources\views\products\view.blade.php)

      and below given statement is copied from :resources\themes\velocity\views\products\view.blade.php"

      @include ('shop::products.view.configurable-options')

      please guide us through this how can we copy the functionality to add configurable attributes to the product detail page where we can dynamically get product variants.

      1 Reply Last reply Reply Quote 0
      • devansh-webkul
        devansh-webkul last edited by

        Hi @sohaib,

        Take a reference of this file,
        packages/Webkul/Shop/src/Resources/views/products/view/configurable-options.blade.php

        If you are customizing the theme, then you have to customize the copy of this file also. So that your classes get compatible with your current theme.

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