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

      Order View Tabs Not Working on Customer Order Detail Page (DOMException: String contains an invalid character)
      General Discussion • • syiroth

      2
      0
      Votes
      2
      Posts
      66
      Views

      R

      Hello @syiroth

      The issue occurs on the Customer Order Detail page because the Vue-based tab component (Information, Invoices, Shipments, Refunds) fails to initialize when it encounters invalid characters in dynamic data. This usually happens if special symbols such as ™, #, /, &, smart quotes, emojis, or HTML are used in shipping method names, payment method titles, order statuses, addresses, or translation strings. These values are converted into DOM attributes/IDs, and invalid characters trigger the “DOMException: String contains an invalid character” error, which stops the tab switching functionality. To fix it, remove special characters from shipping/payment/status titles and translations, clear Laravel caches (php artisan optimize:clear), rebuild frontend assets (npm run build after deleting public/build), and hard refresh the browser. Note: Make sure you perform these steps on a staging environment first, not directly on production.

      Regards
      Rishabh Yogi
      Team Bagisto

    • M

      Admin Footer
      General Discussion • • MyCity

      2
      -1
      Votes
      2
      Posts
      121
      Views

      A

      @MyCity

      You can remove or change the “Powered by Bagisto” badge — but only if doing so is allowed by Bagisto’s license and you keep required copyright notices where legally required.

      Here’s a clear, safe guide on how to do it:

      ⸻

      Check the License First

      Bagisto is published under the MIT License. That means:
      • You can modify the code.
      • You can remove or replace branding in your own deployment.
      • BUT you must still include the original license and copyright notice in distributed copies or public code.

      So you can replace “Powered by Bagisto” with your own text for your app/website, as long as you keep the MIT license text elsewhere (e.g., in your codebase).
      You should not remove the copyright/license file from the source code.

      ⸻

      How to Remove/Replace the Footer Text

      The “Powered by Bagisto” text appears in the frontend footer. To change it:
      Option A — Edit the Blade Template
      1. Go to your Bagisto project folder.
      2. Open:

      resources/themes/velocity/views/layouts/footer.blade.php

      3. Find the line with “Powered by Bagisto”. 4. Replace it with your own network name.

      For example:

      <p>
      © {{ date('Y') }} Your Network Name
      </p>

      ⸻

      Option B — Override the Footer in Your Custom Theme

      If you’re using a custom theme:
      1. Copy the footer template:

      resources/themes/your-theme/views/layouts/footer.blade.php

      2. Edit it exactly the same way.

      This keeps the core Bagisto code unchanged and makes upgrades safer.

      ⸻

      Clear the Cache

      After editing, run:

      php artisan view:clear
      php artisan cache:clear

      ⸻

      Notes

      This change only affects the display text.
      Do not delete the MIT License file or required notices from your code repository — that would violate the license.

      ⸻

      ⚖️ Legal Reminder

      The MIT License allows removing branding in your own deployment, but:
      • If you distribute modified code publicly (e.g., on GitHub), you must include the original MIT license text somewhere.
      • Always check the license text for compliance.

      ⸻

      If you want, I can show exact code snippets from your footer file — just let me know!