Bagisto Forum

    Bagisto

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. Recent
    Log in to post
    • All categories
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics
    • A

      Bagisto 2.2.4 | Homepage not working
      Installing Bagisto • • alex32

      1
      0
      Votes
      1
      Posts
      65
      Views

      No one has replied

    • A

      Custom Payment success() method error in Bagisto 2.3 – haveStockableItems() null
      General Discussion • • arunchahar

      2
      0
      Votes
      2
      Posts
      176
      Views

      A

      and here the redirect method if it help you to understand it better:

      public function redirect() { $cart = Cart::getCart(); $billingAddress = $cart->billing_address; $MERCHANT_KEY = core()->getConfigData('sales.payment_methods.payu.payu_merchant_key'); $SALT = core()->getConfigData('sales.payment_methods.payu.salt_key'); if (core()->getConfigData('sales.payment_methods.payu.payu-website') == "Sandbox") : $PAYU_BASE_URL = "https://test.payu.in"; // For Sandbox Mode else : $PAYU_BASE_URL = "https://secure.payu.in"; // For Live Mode endif; $shipping_rate = $cart->selected_shipping_rate ? $cart->selected_shipping_rate->price : 0; // shipping rate $discount_amount = $cart->discount_amount; // discount amount $total_amount = ($cart->sub_total + $cart->tax_total + $shipping_rate) - $discount_amount; // total amount $posted = array( "key" => $MERCHANT_KEY, "txnid" => $cart->id . '_' . now()->format('YmdHis'), "amount" => $total_amount, "firstname" => $billingAddress->name, "email" => $billingAddress->email, "phone" => $billingAddress->phone, "surl" => route('payu.success'), "furl" => route('payu.failure'), "curl" => "cancel", "hash" => '', "productinfo" => 'Bagisto Order no ' . $cart->id, 'udf1' => '', 'udf2' => '', 'udf3' => '', 'udf4' => '', 'udf5' => '', 'salt' => $SALT ); /*** hash key generate */ $hash = $this->getHashKey($posted); $action = $PAYU_BASE_URL . '/_payment'; return view('payu::payu-redirect')->with(compact('MERCHANT_KEY', 'SALT', 'action', 'posted', 'hash')); }
    • D

      bagisto 2.3 and contribution guidline
      General Discussion • • ducanh

      2
      0
      Votes
      2
      Posts
      118
      Views

      Rishabh-Webkul

      Hello @ducanh

      Follow the below steps for your query.

      Add the Bagisto upstream remote (if not already added): git remote add upstream https://github.com/bagisto/bagisto.git Fetch all branches from the upstream: git fetch upstream Checkout the 2.3 branch from upstream: git checkout 2.3 Push the changes to your fork or you can manually update it from github

      Regards
      Team Bagisto

    • D

      Local Enviroment so slow :(((
      General Discussion • • ducanh

      2
      0
      Votes
      2
      Posts
      103
      Views

      Rishabh-Webkul

      Hello @ducanh

      Kindly check this

      Server: Apache 2 or NGINX
      RAM: 4GB or higher
      Node: 23.10.0 LTS or higher
      PHP: 8.2 or higher
      Composer: 2.5 or higher

      https://devdocs.bagisto.com/2.3/introduction/requirements.html#server-configuration

      Regards
      Team Bagisto

    • A

      Issue with Installing bagisto-delivery-time-slot in Bagisto 2.3
      General Discussion • • arunchahar

      2
      0
      Votes
      2
      Posts
      191
      Views

      Rishabh-Webkul

      Hello @arunchahar

      Its clearly mentioned in the README.md file that it compatible with Bagisto v2.0

      Kindly try to install this extension with v2.0

      v2.0.png

      Regards
      Team Bagisto

    • N

      Creating a token for use in next.js
      General Discussion • • negarahmady

      1
      0
      Votes
      1
      Posts
      64
      Views

      No one has replied

    • A

      error custom template when migrate version 2.3
      General Discussion • • alexVillalobos

      3
      0
      Votes
      3
      Posts
      188
      Views

      Rishabh-Webkul

      Hello @alexVillalobos

      We have our official blog to migrate from older version to newer versions of Bagisto.

      https://bagisto.com/en/how-to-migrate-bagisto-from-version-1-5-0-to-bagisto-2-0/

      Regards
      Team Bagisto

    • N

      Bagisto redis cache
      Bug Report • • Nicola_cascella

      2
      0
      Votes
      2
      Posts
      142
      Views

      Rishabh-Webkul

      Hello @Nicola_cascella

      Can you provide us with the screenshot or some reference video so that it will us to easily identify and resolve your query.

      Regards
      Team Bagisto

    • B

      Bulk import product with newly created attributes?
      General Discussion • • bhagwan00

      2
      0
      Votes
      2
      Posts
      109
      Views

      Rishabh-Webkul

      Hello @bhagwan00

      Bulk Import for newely created attributes only works with data type - text also you can download a sample file to check the CSV file structure, while importing as shown in the image below.

      download-sample.png

      Regards
      Team Bagisto

    • A

      Will My Custom HTML & CSS Changes Remain After Updating to 2.3?
      General Discussion • • arunchahar

      2
      0
      Votes
      2
      Posts
      111
      Views

      Rishabh-Webkul

      Hello @arunchahar,

      For this, you must create a separate package and override the files in which you have made custom changes.

      If you update without doing this, your upgrade may cause errors and prevent you from updating to the latest version.

      https://bagisto.com/en/how-to-override-view-files-in-bagisto/

      Regards
      Team Bagisto

    • N

      Create custom page
      General Discussion • • Neilm

      4
      0
      Votes
      4
      Posts
      201
      Views

      ghermans

      @Neilm

      Try to add this in your blade file

      <x-shop::layouts> <x-slot:title> Welcome </x-slot> <div class="container mt-8 px-[60px] max-lg:px-8"> <h1>Welcome to My Custom Page</h1> </div> </x-shop::layouts>
    • K

      Create a service class
      General Discussion • • kninh

      3
      0
      Votes
      3
      Posts
      159
      Views

      ghermans

      Step 1: Create a New Package

      First, create a new package if you haven't already. You can use the Bagisto package generator for this:

      php artisan package:make VendorName PackageName

      Step 2: Define the Service Class

      Navigate to your package directory and create a new directory for services if it doesn't exist:

      packages/VendorName/PackageName/src/Services

      Step 3: Implement the Service Class
      Create a new PHP file for your service class MyService.php and add the following code for example

      <?php namespace VendorName\PackageName\Services; class MyService { public function performAction() { // Your service logic here } }

      Step 4: Use the Service Class
      You can now use your service class in your controllers:

      <?php namespace VendorName\PackageName\Http\Controllers; use VendorName\PackageName\Services\MyService; class MyController extends Controller { protected $myService; public function __construct(MyService $myService) { $this->myService = $myService; } public function index() { $this->myService->performAction(); } }
    • ghermans

      Bagisto v2.2.5 Released
      Announcements • • ghermans

      1
      0
      Votes
      1
      Posts
      144
      Views

      No one has replied

    • C

      i use razorpay payment getaway ,when i mention product price including tax after we checkout than show this error "The amount must be an integer "
      Bug Report • • creativeminds

      2
      0
      Votes
      2
      Posts
      112
      Views

      Rishabh-Webkul

      Hello @creativeminds

      This is third party plugin for this you need to contact with the wontonee team.

      https://wontonee.com/contactus/

      Regards

    • O

      Bagisto RESTful API for product translations ?
      General Discussion • • olivexy

      2
      0
      Votes
      2
      Posts
      77
      Views

      Rishabh-Webkul

      Hello @olivexy

      For this, you need to customize the REST API. First, prepare the endpoint for translation. Now, whatever you want to translate, you can do it using AI, or you can use some third-party libraries that provide translation services.

      Regards
      Team Bagisto

    • N

      Search query - where do I find it?
      General Discussion • • Neilm

      2
      0
      Votes
      2
      Posts
      103
      Views

      Rishabh-Webkul

      Hello @Neilm

      Can you please elaborate your issue or it will be great if you provide us with a reference video this will help us to resolve your query.

      Regards
      Team Bagisto

    • F

      Dynamic Filtering: Show Only Available Brands and Sizes in Category Filters
      General Discussion • • fargullu

      2
      0
      Votes
      2
      Posts
      78
      Views

      Rishabh-Webkul

      Hello @fargullu

      For this you need to customize this at the code end.

      Kindly go to the below file path to customize this.

      packages >> Webkul >> Shop >> src >> Resources >> views >> categories >> toolbar.blade.php

      blade-file.png

      Regards
      Team Bagisto

    • H

      Bagisto License
      General Discussion • • httpsdoug

      2
      0
      Votes
      2
      Posts
      135
      Views

      ghermans

      Bagisto is released under the MIT license, as confirmed by the license file on our GitHub repository: https://github.com/bagisto/bagisto?tab=MIT-1-ov-file#readme

      The MIT license is permissive, meaning you can freely use, modify, and distribute the software, even in proprietary projects, without the obligation to open-source your modifications.

      You can confidently use Bagisto to create e-commerce stores for your clients without needing to release your source code.

    • B

      New Payment Method (Mpesa) Not Loaded & Old PayPal Still Showing in Admin Dashboard
      Knowledge Base • • brunoadul

      2
      0
      Votes
      2
      Posts
      153
      Views

      Rishabh-Webkul

      Hello @brunoadul

      If Paypal is still exists you can simply disable the status from the configurations.

      Additionally there is official DevDocs of how o create a Payment methods you can take a reference from here.

      https://devdocs.bagisto.com/2.2/advanced/create-payment-method.html#introduction

      Regards
      Team Bagisto

    • S

      Wong amount showing after updating cart in the view cart page for multi-currency
      Bug Report • • somsubhra

      2
      0
      Votes
      2
      Posts
      128
      Views

      Rishabh-Webkul

      Hello @somsubhra

      Can you please confirm that after increasing the quantity did you click on Update Cart button?

      Also provide us with a reference video because everything is working fine at our end.

      Regards.
      Team Bagisto