Bagisto Forum

    Bagisto

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. General Discussion
    Log in to post
    • Newest to Oldest
    • Oldest to Newest
    • Most Posts
    • Most Votes
    • Most Views
    • K

      Laravel Intervention image cache not working on server
      • karkiswapnil

      2
      0
      Votes
      2
      Posts
      1704
      Views

      R

      Hi @karkiswapnil

      Please follow below one for solution - https://forums.bagisto.com/topic/188/broken-image-logo-in-bagisto-with-causes-and-solutions

      Thanks

    • H

      How to change currency unit?
      • hChamran

      2
      0
      Votes
      2
      Posts
      1021
      Views

      ghermans

      Hi @hChamran
      the following steps would do the trick

      Go to Settings Click on Currencies and add your currency.

      addKnipsel.PNG
      3. Go to Settings -> Channels and click on the pencil to edit the channel.
      channelsKnipsel.PNG
      4. Select the curreny you like to assign to this channel.
      EditKnipsel.PNG

    • H

      How to get login user?
      • hChamran

      2
      0
      Votes
      2
      Posts
      1018
      Views

      ghermans

      Try

      $customer = auth()->guard('customer')->user(); var_dump($customer);
    • L

      New release
      • lwilliams-heli

      11
      0
      Votes
      11
      Posts
      3574
      Views

      R

      Hi @lwilliams-heli

      At the end of this month, we will release our next version.

      Thanks

    • L

      Shop By attribute
      • latifiyll

      3
      0
      Votes
      3
      Posts
      1145
      Views

      R

      Hi @latifiyll

      Please see this one - https://github.com/bagisto/bagisto/issues/1466.

      Thanks

    • L

      Bagisto Custom Theme
      • latifiyll

      2
      1
      Votes
      2
      Posts
      1029
      Views

      ghermans

      Unfortunately no additional free themes are available

    • L

      Adding new field in customer form
      • latifiyll

      2
      0
      Votes
      2
      Posts
      1085
      Views

      R

      Hi @latifiyll

      Please read this for ovveride view - https://forums.bagisto.com/topic/221/how-to-override-view-file-in-bagisto.

      Provide your controller's route path in this file, so when you will submit this page, your controller will be called.

      Thanks

    • T

      Override core model not in effect
      • trane294

      2
      0
      Votes
      2
      Posts
      873
      Views

      R

      Hi @trane294

      Hi @accountmine

      Your whole code is correct instead of dumping whole customer, try to dd($customer->name), because you have created Accessor for name.

      For more detail, please go through with this article - https://laravel.com/docs/5.8/eloquent-mutators#defining-an-accessor

      Thanks

    • V

      how to create new migration table in bagisto
      • vinay2430

      3
      0
      Votes
      3
      Posts
      2193
      Views

      ghermans

      Create your migration file as you always do in laravel php artisan make:migration create_my_table inside the /src folder from your package create a new folder Database. Go to the Database folder and create a new folder Migrations. Copy your generated migration file to packages/My/Package/src/Database Open your package service provider and add your migrations folder to the boot method class MyPackageServiceProvider extends ServiceProvider { /** * Perform post-registration booting of services.. * * @return void */ public function boot() { $this->loadMigrationsFrom(__DIR__.'/../Database/Migrations'); }
    • R

      How to Change the Bliss logo in the top left
      • randy_johnson

      6
      0
      Votes
      6
      Posts
      2559
      Views

      R

      Hi @leni

      Please run following commands -

      php artisan view:clear
      php artisan cache:clear
      composer dump-autoload

      & follow the given article - https://forums.bagisto.com/topic/188/broken-image-logo-in-bagisto-with-causes-and-solutions

      Thanks

    • T

      Price range instead of "As low as" message?
      • trane294

      2
      0
      Votes
      2
      Posts
      888
      Views

      R

      Hi @trane294

      Right now this option not available but if you want then you can customise it.

      Thanks

    • L

      UI css
      • latifiyll

      2
      0
      Votes
      2
      Posts
      943
      Views

      ghermans

      packages/Webkul/package-name/Resources/assets/scss

    • A

      JWT token based Authentication
      • aditya banerjee

      2
      0
      Votes
      2
      Posts
      1220
      Views

      R

      Hi @aditya-banerjee

      Please follow this link - https://forums.bagisto.com/topic/149/i-need-to-deliver-the-api-token-from-the-json-response-not-the-header

      Thanks

    • L

      how to connect bagisto with payement gateway?
      • leni

      3
      0
      Votes
      3
      Posts
      1268
      Views

      R

      Hi @leni

      Follow the above link to integrate payment gateway in your system & write here if you face any difficulty to implement it.

      Thanks

    • D

      Getting issue in progress bar
      • dsharma

      2
      0
      Votes
      2
      Posts
      897
      Views

      R

      Hi @dsharma

      Kindly create ticket here - https://bagisto.uvdesk.com/en/customer/create-ticket/

      Thanks

    • G

      Social Login
      • gayanpriyankara

      3
      0
      Votes
      3
      Posts
      1103
      Views

      G

      @rahul thanks i will look into this

    • L

      Adding new views
      • latifiyll

      2
      0
      Votes
      2
      Posts
      834
      Views

      R

      Hi @latifiyll

      Please follow below link -

      https://devdocs.bagisto.com/create_package.html

      https://bagisto.com/en/step-by-step-guide-for-bagisto-module-development/

      Thanks

    • D

      got an issue
      • dsharma

      2
      0
      Votes
      2
      Posts
      805
      Views

      R

      Hi @dsharma

      Kindly take pull from - https://github.com/bagisto/bagisto

      Thanks

    • L

      CSS changes
      • latifiyll

      4
      0
      Votes
      4
      Posts
      1626
      Views

      R

      Hi @latifiyll

      There are two way of doing design changes in bagisto.
      First way is - Create a theme for front.
      go through with this link - https://bagisto.com/en/create-custom-theme-in-bagisto/ and https://devdocs.bagisto.com/create_theme.html.

      Second way is to override all view files and use your css.
      Please follow this one - https://forums.bagisto.com/topic/221/how-to-override-view-file-in-bagisto and https://forums.bagisto.com/topic/111/how-to-override-the-admin-layout

      Thanks

    • S

      Show Variation Images on Product Page
      • SiCo

      2
      1
      Votes
      2
      Posts
      1568
      Views

      R

      Hi @SiCo

      As you can see, we have a created ProductImage Helper to get product images in Product package.
      In this helper there is a method called getGalleryImages which is returning images of product.

      To show all variant images on product view page, first off all you need to override 'gallery.blade.php'.
      Then create a helper function in your package and called your helper using your overrided view file.

      Paste given code in your helpers getGalleryImages method.

      /** * Retrieve collection of gallery images * * @param Product $product * @return array */ public function getGalleryImages($product) { if (! $product) return []; $images = []; if ($product->product->type == 'configurable') { foreach ($product->variants as $variant) { foreach ($variant->images as $image) { if (! Storage::has($image->path)) continue; $images[] = [ 'small_image_url' => url('cache/small/' . $image->path), 'medium_image_url' => url('cache/medium/' . $image->path), 'large_image_url' => url('cache/large/' . $image->path), 'original_image_url' => url('cache/original/' . $image->path), ]; } } } foreach ($product->images as $image) { if (! Storage::has($image->path)) continue; $images[] = [ 'small_image_url' => url('cache/small/' . $image->path), 'medium_image_url' => url('cache/medium/' . $image->path), 'large_image_url' => url('cache/large/' . $image->path), 'original_image_url' => url('cache/original/' . $image->path), ]; } if (! $product->parent_id && ! count($images)) { $images[] = [ 'small_image_url' => asset('vendor/webkul/ui/assets/images/product/small-product-placeholder.png'), 'medium_image_url' => asset('vendor/webkul/ui/assets/images/product/meduim-product-placeholder.png'), 'large_image_url' => asset('vendor/webkul/ui/assets/images/product/large-product-placeholder.png'), 'original_image_url' => asset('vendor/webkul/ui/assets/images/product/large-product-placeholder.png') ]; } return $images; }

      Follow this link to override view file - https://forums.bagisto.com/topic/221/how-to-override-view-file-in-bagisto

      Thanks