• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
Bagisto Forum

Bagisto

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

    Where can i find the routes, views and controllers?
    12 Apr 2019, 11:09 • sanjana singh 22 Jun 2024, 14:48

    2
    0
    Votes
    2
    Posts
    1.1k
    Views

    M 22 Jun 2024, 14:48

    To find the routes, views, and controllers in a typical web application framework, you can follow these general guidelines based on common frameworks like Laravel, Ruby on Rails, and Django. The specific location might vary depending on the framework you're using.

    For Laravel (PHP):
    Routes:

    Located in the routes directory.
    Main route file: routes/web.php for web routes.
    API routes: routes/api.php.
    Views:

    Located in the resources/views directory.
    Blade templates (Laravel's templating engine) are stored here.
    Controllers:

    Located in the app/Http/Controllers directory.
    By default, user-defined controllers are stored in this directory.
    For Ruby on Rails:
    Routes:

    Defined in the config/routes.rb file.
    Views:

    Located in the app/views directory.
    Each controller has a corresponding folder inside views.
    Controllers:

    Located in the app/controllers directory.
    Each controller file ends with _controller.rb.
    For Django (Python):
    Routes (URLs):

    Defined in the urls.py file within each app directory.
    There's also a main urls.py file in the project directory.
    Views:

    Located in the views.py file within each app directory.
    Controllers:

    In Django, the concept of controllers is handled by views. Therefore, the views.py file within each app directory serves this purpose.
    Summary:
    To find the routes, views, and controllers in your application:

    Routes:
    Look for files named routes.php, urls.py, or routes.rb depending on your framework.
    Views:
    Check the views directory or the corresponding template directory in your application.
    Controllers:
    Look for the controllers directory or views.py file in each app, depending on your framework.
    If you need further assistance with specifics or additional <a href="https://assignmenthelps.org/Assignment-help">assignment help</a>, please provide the framework or language you're using.

  • E

    Compatibility Issues
    reward • 15 Jul 2024, 22:38 • etomeh 16 Jul 2024, 07:21

    2
    0
    Votes
    2
    Posts
    315
    Views

    ashish2409 16 Jul 2024, 07:21

    @etomeh
    Hello There,

    Currently we are undergoing with the development of Reward Point extension. Soon we will be completing then and testing will be processed. Once this will be done, we will update the latest code for the same.

    I would really appreciate your patience.
    Thank You.

  • I

    csrf token issue
    24 Apr 2023, 07:07 • ismail 10 Sept 2024, 12:39

    5
    0
    Votes
    5
    Posts
    281
    Views

    Rishabh-Webkul 10 Sept 2024, 12:39

    Hello @Peppek1993

    Kindly let us know which Bagisto version you are facing this issue

    Thanks & Regards

  • M

    Creating a custom theme in Bagisto 2.2
    10 Sept 2024, 14:15 • MartintheMartian 11 Sept 2024, 14:01

    3
    0
    Votes
    3
    Posts
    235
    Views

    M 11 Sept 2024, 14:01

    @Rishabh-Webkul Is that really the way to do so? It feels so hacky.. copying files, changing namespaces.

  • M

    Changing admin options, ex. hiding up-cells and few attribute options.
    12 Aug 2024, 01:01 • marshalbagisto 12 Sept 2024, 08:06

    8
    0
    Votes
    8
    Posts
    488
    Views

    M 12 Sept 2024, 08:06

    @Rishabh-Webkul This worked for me. Thank you.

    Does this work for the datagrids too?
    If yes, can you please share the syntax, if not, what is the best possible way to change a datagrid.

    thank you again!

  • O

    Custom package dependencies classes not found
    9 Sept 2024, 14:21 • Okumura 12 Sept 2024, 22:34

    5
    0
    Votes
    5
    Posts
    282
    Views

    O 12 Sept 2024, 22:34

    Hi @Rishabh-Webkul
    Dependencies doesn't exist in root vendor but as I understand based on article: "https://forums.bagisto.com/topic/3288/custom-package-dependencies" it shouldn't be.

    As I understand packages should have separate dependencies and be completely independent. If I install package at root level for example:

    composer require stichoza/google-translate-php

    customer will need to do the same thing. If I use few libraries it could be a long list of instructions how to set up my package and it wouldn't be modular solution. My current solution seems to be the simplest option for now.

    Thanks and best regards.

  • M

    Products seeded but not showing on frontend
    17 Sept 2024, 09:02 • MartintheMartian 19 Sept 2024, 06:51

    4
    0
    Votes
    4
    Posts
    351
    Views

    Rishabh-Webkul 19 Sept 2024, 06:51

    Hello @MartintheMartian

    We are currently looking into it.

    Will update it ASAP.

    Thanks & Regards

  • A

    Bagisto Update
    26 Mar 2020, 12:45 • aroobaarooj499 26 Sept 2024, 08:14

    14
    0
    Votes
    14
    Posts
    1.0k
    Views

    R 26 Sept 2024, 08:14

    @Ashishaxaat said in Bagisto Update:

    @rahul

    i have been trying upgrading my old bagisto 0.2v to latest bagisto version
    by following this guide
    https://devdocs.bagisto.com/upgrade_to_latest_bagisto.htmlgbi iq test

    and after follow the instruction iam still getting the follow error

    ErrorException (E_WARNING)
    Erroneous data format for unserializing 'Symfony\Component\Routing\CompiledRoute'

    can you please help!

    Thanks! i got it!

  • G

    Installing Google Fonts
    7 Oct 2024, 08:08 • gggani 8 Oct 2024, 04:52

    2
    0
    Votes
    2
    Posts
    205
    Views

    Rishabh-Webkul 8 Oct 2024, 04:52

    Hello @gggani

    This Google font extension is not compatible with Bagisto v2.2.3 you have to make it compatible with the latest version and if you want us to do it then it will came under as a paid service for this you can purchase our support hours from the link below.

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

    Thanks & Regards

  • M

    Phone pe payments with rest-api
    29 Sept 2024, 17:55 • marshalbagisto 11 Oct 2024, 04:05

    3
    0
    Votes
    3
    Posts
    519
    Views

    M 11 Oct 2024, 04:05

    @amit-webkul Thank you for the reply.

    I'll do as advised. Can you please help me with the create transaction api. As we do not have the create transaction api in the module, I want to create that for my own as I am using another payment gateway and I want to save related data. Can you help me with how the order process works?
    For example: I'll save the order which will return order id, I already have the transaction Id from phone pe. How can I save the transaction data using the rest-api?

    Thank you

  • M

    Guest cart issue using "bagisto/rest-api": "^2.1"
    11 Oct 2024, 04:08 • marshalbagisto 15 Oct 2024, 02:40

    6
    0
    Votes
    6
    Posts
    487
    Views

    M 15 Oct 2024, 02:40

    @Peppek1993 Thank you. I'll try and update here the progress.

  • K

    How to integrate carrier widget to bagisto?
    23 Oct 2024, 11:26 • kotel123 24 Oct 2024, 05:39

    2
    0
    Votes
    2
    Posts
    154
    Views

    Rishabh-Webkul 24 Oct 2024, 05:39

    Hello @kotel123

    We have a doc of the shipping methods you can go through the link

    https://devdocs.bagisto.com/1.x/advanced/create-shipping-method.html

    And, If you want further customization regarding integration, you can create a ticket from the link below, this will come under as a paid service.

    https://webkul.uvdesk.com/en/customer/create-ticket/

    Thanks & Regards

  • P

    How can i show my view in the customer account menu?
    8 Nov 2024, 21:21 • Pedro Amair 12 Nov 2024, 10:12

    2
    0
    Votes
    2
    Posts
    114
    Views

    ashish2409 12 Nov 2024, 10:12

    @Pedro-Amair

    Hello there,
    As I was able to understand your concern, I just need to know in which file you have made changes. According to our work flow we need to add menu details in below link and in that you need to add menu configurations which will handle all menu related configurations.

    packages/Webkul/Shop/src/Config/menu.php

  • M

    Is there documentation for all base bagisto routes?
    24 Oct 2024, 13:51 • miguel.barbosa 20 Nov 2024, 13:36

    6
    0
    Votes
    6
    Posts
    269
    Views

    M 20 Nov 2024, 13:36

    Thank you everyone for your feedback.

    Sorry for the late feedback, the answers were enough to get where I wanted to.

  • M

    Creating a custom attribute type
    21 Nov 2024, 08:04 • miguel.barbosa 22 Nov 2024, 11:53

    3
    0
    Votes
    3
    Posts
    139
    Views

    M 22 Nov 2024, 11:53

    @Rishabh-Webkul Thank you!

  • S

    Product images are not coming!! Tried all cache commands and .env app_url changes
    1 Sept 2021, 20:17 • Simran 26 Nov 2024, 04:39

    28
    0
    Votes
    28
    Posts
    9.0k
    Views

    S 26 Nov 2024, 04:39

    @nmach duck life
    it's works for me.

  • M

    How to query products?
    29 Nov 2024, 12:04 • miguel.barbosa 2 Dec 2024, 12:16

    6
    0
    Votes
    6
    Posts
    308
    Views

    M 2 Dec 2024, 12:16

    @Rishabh-Webkul I've extended the ProductController

    But now I want to, using a var, get all products with that value in a specific attribute.

    How can I achieve this with search?

  • A

    Code Documentation
    16 Dec 2024, 12:25 • admin-improve 19 Dec 2024, 05:48

    4
    0
    Votes
    4
    Posts
    169
    Views

    Rishabh-Webkul 19 Dec 2024, 05:48

    Hello @admin-improve

    Ok Nice

    Keep Exploring

    Thanks & Regards

  • M

    Error when attempting to create a custom theme
    23 Dec 2024, 09:47 • miguel.barbosa 31 Dec 2024, 06:55

    7
    0
    Votes
    7
    Posts
    321
    Views

    Rishabh-Webkul 31 Dec 2024, 06:55

    Hello @miguel-barbosa

    Kindly let us know your Bagisto version ?

    Make sure this blog tutorial is for Bagisto v2.0

    https://bagisto.com/en/create-custom-theme-in-bagisto/

    Thanks & Regards

  • K

    PayPal Integration In bagisto eCommerce website
    13 Jul 2019, 11:55 • Keerthi 2 Jan 2025, 08:12

    4
    0
    Votes
    4
    Posts
    538
    Views

    M 2 Jan 2025, 08:12

    @Keerthi To integrate PayPal payment gateway into Bagisto, you will need to follow several steps in the ecommerce website development process . First, ensure that you have a PayPal developer account to obtain your Client-ID and Client-Secret. After this, go to the Bagisto admin panel and navigate to the payment settings section. Look for the PayPal integration options and enable it. You will then be prompted to enter your Client-ID and Client-Secret in the respective fields. Make sure the correct environment (sandbox or live) is selected based on your testing or production needs. After saving these details, your PayPal gateway should be successfully integrated, and your Bagisto store will be ready to process payments through PayPal.