Navigation

    Bagisto Forum

    Bagisto

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. vishalK
    3. Posts
    V
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Posts made by vishalK

    • RE: Missing Product Price Helper class using BulkUpload extension

      Hi @lukasyelle
      First i would like to suggest you to kindly check your excel or csv file it may be possible that there is some error in data format.
      If problem is not solved than kindly download updated bulk upload from https://github.com/bagisto/bagisto-bulk-upload
      and than try to upload.

      Regards

      posted in Knowledge Base
      V
      vishalK
    • RE: how can override shop and admin vue js in new package

      Hi @zainawan99

      There are two ways:

      First:-

      First of all you have to create vue.js component file inside your package following the same path as you see in other package and create publishable asset by running npm run prod inside your package than you need to publish all asset of your package by using php artisan vendor:publish in root directory and then use this vue.js component in your view file and use view override technique to replace your view file with the existing one to reflect changes in front end so that's how you can overrride vue.js component.

      Second:-

      Make changes in the existing vue.js component according to your need.
      then run npm run prod inside package and run php artisan vendor:publish in root directory.

      posted in Modules
      V
      vishalK
    • RE: how can override shop and admin vue js in new package

      Hi @zainawan99

      You can override vue js by override view file.

      You can read this one - https://forums.bagisto.com/topic/221/how-to-override-view-file-in-bagisto

      For overriding admin file:-

      So you need to create a view file (In your package & follow same path structure as core 's view file consist ) & publish this file according to path of that suggested in above topic or core's view file has, in your package's service provider. Like

      $this->publishes([
        __DIR__ . '/../Resources/views/admin/catalog/products/edit.blade.php' => resource_path('views/vendor/admin/catalog/products/edit.blade.php'),
              ]);
      

      Thanks

      posted in Modules
      V
      vishalK
    • RE: How to add condition to show hide cash on delivery Payment Method based on total Grand Total?

      Hi @Zakir

      This cash on delivery class extends Payment class so you will find isAvailable() function in payment class kindly check.

      Thanks

      posted in Knowledge Base
      V
      vishalK
    • RE: buy now api

      Hi @cmpengineers
      From buy now api you mean when customer click on buy now so product added into cart and customer directly redirect to checkout or view cart page, please correct me if i am wrong.

      So for this you have to do customisation in add to cart api.

      1. First of all you need to pass is_buy_now in parameter with value true.
      2. Now go to add to cart api controller here if condition is already there related to is_buy_now.
      3. Now you need to add some custom parameter in return response so that you could identify that customer is using buy now btn instead of add to cart.
      4. So at the last whenever you received your custom parameter in response so redirect the customer to the desired page.

      You can implement this in both ways by adding new controller or modify existing add to cart controller.

      Thanks

      posted in General Discussion
      V
      vishalK
    • RE: How to add condition to show hide cash on delivery Payment Method based on total Grand Total?

      Hi @Zakir

      You have to add conditions according to your need inside isAavailabe() function.

      $root_folder/packages/Webkul/Payment/src/Payment/CashOnDelivery.php

      Regards

      posted in Knowledge Base
      V
      vishalK
    • RE: Unable to display or run video in Admin Dashboard (Review Module)

      Hi @Aymun-Dar

      No, Bagisto did not required any extra package for this. First of all kindly check the video on the other tab and check weather it is playing or not use the same path that you use inside Bagisto.
      If it is not playing than there is permission issue.
      Thanks

      posted in Modules
      V
      vishalK
    • RE: Unable to display or run video in Admin Dashboard (Review Module)

      Hi @Aymun-Dar

      I have checked the code that is given above by integrating it in my admin panel and it is working fine kindly check your code there may be some other problem. I have also attached the video for your reference https://www.loom.com/share/96f24256cae54980a0b8b3cd8eeee23e

      Thanks

      posted in Modules
      V
      vishalK
    • RE: How to add multiple images in categories from admin interface?

      Hi @zainawan99

      You can take reference from product edit page, there also you will find image section which show multiple images.

      Thanks

      posted in Knowledge Base
      V
      vishalK
    • RE: API not Working

      Hi @kassouf

      Kindly mention bagisto version.

      Regards

      posted in Modules
      V
      vishalK
    • RE: how to change product-card__badge

      Hi @gayanpriyankara

      To show percentage of discount inside badge first you have to do some customisation.

      1. First open the folder which is given below:
        $root_folder/packages/Webkul/Product/src/Type
      2. Inside this folder you will find all product type file (7 files like downloadable, virtual, etc..)
      3. open each file and find getPriceHtml() function.
      4. Now inside this getPriceHtml() function you will find sale sticker tag like image given below:ea58c254-4b46-47e8-89a2-48760fbc6e6d-image.png
      5. Now inside this function first you have to calculate discount percentage using special price and add that percentage inside sticker sale div.

      Now whenever you set special price of product your logic inside getPriceHtml() function calculate discount percentage using special price and set that percentage inside sticker sale div so in front-end you will see discount percentage inside badge.

      Note: Kindly take backup of project before performing above steps.

      Thanks

      posted in General Discussion
      V
      vishalK
    • RE: How to add multiple images in categories from admin interface?

      Hi @zainawan99

      First of all you have to save multiple image in storage folder and make an entry of that image in table and relate that image entry with category so by doing this you are able to fetch images related to the category and then you can easily fetch and show images in admin panel as well as in front end but remember you have to add slider component in front end to show multiple images.

      Thanks

      posted in Knowledge Base
      V
      vishalK
    • RE: Unable to display or run video in Admin Dashboard (Review Module)

      Hi @Aymun-Dar
      Kindly check error why it is not playing using dev tool present inside browser and share screenshot.
      Thanks

      posted in Modules
      V
      vishalK
    • RE: How to add multiple images in categories from admin interface?

      Hi @zainawan99

      We didn't get your point kindly elaborate your question.

      Thanks

      posted in Knowledge Base
      V
      vishalK
    • RE: change header background-color

      Hi @ricky641

      Yes, you have to run npm run prod inside velocity package and then you have to publish assest by using php artisan vendor:publish command.

      Note: Kindly take backup of your project before performing above steps.

      Thanks

      posted in Knowledge Base
      V
      vishalK
    • RE: change header background-color

      Hi @ricky641

      you can change header background color from this file:

      $root_folder/packages/Webkul/Velocity/src/Resources/assets/sass/components/home.scss

      6df3624d-2a3f-41d2-965b-588064af1285-image.png

      Here in image at line 497 enter color code.

      Thanks

      posted in Knowledge Base
      V
      vishalK
    • RE: How do Product Image Paths work? Strange thing happening

      Hi @bagdev

      Original product image is saved inside storage folder but to make product page loading time fast we use dynamic imagecache technique.
      So by adding cache/small/ in url it load image after transforming image into small template.

      Thanks

      posted in General Discussion
      V
      vishalK
    • RE: How Can I add 'Continue' Button to proceed next step for Velocity 'checkout/onepage'

      Hi @Zakir

      To add continue button you have to add button code into $root_folder/packages/Webkul/Velocity/src/Resources/views/shop/checkout/onepage/customer-new-form.blade.php
      and after that you have to fully customise the flow of checkout page like Javascript events and other necessary things used in checkout page. First you have to understand the flow of checkout page and then modify it according to your requirement.

      Thanks!

      posted in Knowledge Base
      V
      vishalK
    • RE: Please tell me the best way how can customization admin and shop controller and route?

      Hi @zainawan99
      Yes, you can override both admin theme and shop theme using this way and this is also the best way and if you want to create a new theme kindly go through our documentation:
      https://devdocs.bagisto.com/1.x/themes/

      Thanks!

      posted in Knowledge Base
      V
      vishalK
    • RE: Velocity css file

      Hi @Shirah

      Yes

      Thanks!

      posted in General Discussion
      V
      vishalK