Bagisto Forum

    Bagisto

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

    Core modification of product-card

    General Discussion
    2
    2
    143
    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.
    • M
      MallauryG last edited by

      Hello,

      I would like to modify the products card.
      But when I modify the corresponding files, the modification is not applied. So I would like to understand some things better:

      1. Which of these two files should I modify?
      • packages\Webkul\Velocity\src\Resources\views\shop\products\list\card.blade.php
      • packagesWebkul\Velocity\src\Resources\assets\js\UI\components\product-card.vue
      1. What commands do I need to run after the modification to apply it?

      I already tried to modify both of these file + publish and clear cache... But it did not work.

      Thanks!

      1 Reply Last reply Reply Quote 0
      • A
        Amitk-Webkul last edited by

        Hi there,
        You have to changes in the (product-card.vue) file and run the following commands

        in packages/Webkul/Velocity

        npm i 
        
        npm run watch
        

        ( in development) in packages/Webkul/Velocity

        npm run prod
        

        ( in production ) in packages/Webkul/Velocity

        after all the changes run below command in root directory and publish the module

        php artisan vendor:publish --force 
        
        1 Reply Last reply Reply Quote 0
        • First post
          Last post