Bagisto Forum

    Bagisto

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

      ParseError when installing
      Installing Bagisto • • crijken

      2
      0
      Votes
      2
      Posts
      382
      Views

      0

      Hi,

      Welcome to Bagisto!

      The syntax itself is correct, but that declaration (const int USER_ID = 1;) uses typed class constants, which are only supported in PHP 8.3 and later.

      This error usually means your server is running an older PHP version (such as 8.2, 8.1, or below), so PHP doesn't recognize the int type before the constant name and throws the parse error.

      You can verify your PHP version by running:

      php -v

      or by checking the output of phpinfo() if you're using a web server.

      If you're using a PHP version below 8.3, please upgrade to PHP 8.3, as the current Bagisto version requires it.

      Thanks
      Aviral
      Team Bagisto

    • G

      Marketplace - French postcode not recognized as valid
      Bug Report • • Gwenaelle

      2
      0
      Votes
      2
      Posts
      956
      Views

      admin

      Hello Gwenaelle,
      Greetings!

      Thank you for reaching out and for sharing your findings.

      We were able to identify this issue, and it has already been fixed in the latest version of the Marketplace package (v2.4.6).

      If you continue to experience any problems after changes in database, please let us know. We'll be happy to assist you further.

      Regards,
      Kartikey Dubey
      Team Bagisto

    • G

      Seller register form "CSRF Token Mismatch"
      Bug Report • • Gwenaelle

      2
      0
      Votes
      2
      Posts
      994
      Views

      admin

      Hello Gwenaelle,

      Greetings!

      Thank you for reaching out and for sharing your findings.

      The @csrf token is already included in our shop form component located at:

      packages/Webkul/Shop/src/Resources/views/components/form/index.blade.php

      Therefore, there is no need to add @csrf manually on pages that use the <x-shop::form> component.

      Could you please clear your browser cache and try again? If you still encounter the same 419 (CSRF Token Mismatch) error, kindly let us know. We'll investigate it further.

      Thank you as well for your suggestion regarding the seller approval documentation. We appreciate your feedback and will consider improving the documentation to make this process easier to find.

      Regards,
      Kartikey Dubey
      Team Bagisto

    • N

      Product Reviews API filters are not working
      Bug Report • • negarahmady

      2
      0
      Votes
      2
      Posts
      1152
      Views

      Y

      Hello,

      Thanks for flagging this. You're right — the rating, status, and sort filters on GET /api/shop/products/{productId}/reviews were not being applied. This has been fixed in the latest release (v2.0.0) — the filters now work as documented.

      Please update to the latest version of the package, and the filtered requests will return correctly. Let us know if you still see any discrepancy after upgrading.

      Best regards,
      Bagisto Support