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
    • N

      Search query - where do I find it?
      • Neilm

      2
      0
      Votes
      2
      Posts
      315
      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

    • O

      Bagisto RESTful API for product translations ?
      • olivexy

      2
      0
      Votes
      2
      Posts
      298
      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

    • K

      Create a service class
      • kninh

      3
      0
      Votes
      3
      Posts
      449
      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(); } }
    • N

      Create custom page
      • Neilm

      4
      0
      Votes
      4
      Posts
      587
      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>
    • A

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

      2
      0
      Votes
      2
      Posts
      324
      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

    • B

      Bulk import product with newly created attributes?
      • bhagwan00

      2
      0
      Votes
      2
      Posts
      333
      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

      error custom template when migrate version 2.3
      • alexVillalobos

      3
      0
      Votes
      3
      Posts
      458
      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

      Creating a token for use in next.js
      • negarahmady

      1
      0
      Votes
      1
      Posts
      150
      Views

      No one has replied

    • B

      This topic is deleted!
      • bhagwan00

      1
      0
      Votes
      1
      Posts
      2
      Views

      No one has replied

    • A

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

      2
      0
      Votes
      2
      Posts
      336
      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

    • D

      Local Enviroment so slow :(((
      • ducanh

      2
      0
      Votes
      2
      Posts
      329
      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

    • D

      bagisto 2.3 and contribution guidline
      • ducanh

      2
      0
      Votes
      2
      Posts
      339
      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

    • A

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

      2
      0
      Votes
      2
      Posts
      362
      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

      custom theme
      • Dark General

      6
      0
      Votes
      6
      Posts
      925
      Views

      D

      @ghermans infact the header and the footer dont change

    • D

      Footer of Admin Panel
      • dipakthakur_13

      2
      0
      Votes
      2
      Posts
      384
      Views

      ghermans

      @dipakthakur_13

      You can change this in the following file packages/Webkul/Admin/src/Resources/views/components/layouts/index.blade.php

      There you will find the following code

      <!-- Powered By --> <div class="mt-auto"> <div class="border-t bg-white py-2 text-center text-sm dark:border-gray-800 dark:bg-gray-900 dark:text-white"> @lang('admin::app.components.layouts.powered-by.description', [ 'bagisto' => '<a class="text-blue-600 hover:underline dark:text-darkBlue" href="https://bagisto.com/en/">Bagisto</a>', 'webkul' => '<a class="text-blue-600 hover:underline dark:text-darkBlue" href="https://webkul.com/">Webkul</a>', ]) </div> </div>
    • S

      How can I move the site from demo to public?
      • sangeethnivas

      3
      0
      Votes
      3
      Posts
      493
      Views

      Rishabh-Webkul

      Hello @sangeethnivas

      Can you please elaborate this? Are you trying to say that you have set up Bagisto on your local and now you want to make it live?

      Please confirm so that we can assist you with your query.

      Regards
      Team Bagisto

    • D

      Marketplace in profile link
      • dsharma

      4
      0
      Votes
      4
      Posts
      870
      Views

      F

      @hesselmavis said in Marketplace in profile link:

      Thank you so much for your response!! It is extremely valuable.

      krnl

    • A

      Custom PhonePe Payment Gateway: Cart available on redirect but null in verify method
      • arunchahar

      2
      0
      Votes
      2
      Posts
      398
      Views

      Rishabh-Webkul

      Hello @arunchahar

      For this, we will need to review your entire package to see what changes you have made and where. To do that, you can purchase support hours for this.

      https://store.webkul.com/bagisto-hourly-customization-package.html

      Regards
      Team Bagisto

    • A

      How sort by range price on products carousel theme
      • alexVillalobos

      2
      0
      Votes
      2
      Posts
      377
      Views

      Rishabh-Webkul

      Hello @alexVillalobos

      By default, we do not provide a filter for 'special_price' in Product Carousel. To check this, we would need to review the code to identify any customizations that may have been made, which would fall under our paid support services.

      You can purchase support hours for this assistance.

      Link: https://store.webkul.com/bagisto-hourly-customization-package.html

    • O

      product images are not displaying on the frontend!
      • OJVV

      5
      0
      Votes
      5
      Posts
      891
      Views

      A

      @OJVV Same thing happened to me. Have you got any solution?