TheShop
  • Home
    • TheShop: Headless e-commerce platform with API-first approach
  • GETTING STARTED
    • Quickstart guide
  • frontstore
    • Introduction
      • Types of frontstores
    • API
      • Frontstore API
      • Template customization
    • API client for Laravel
      • Example: Find products by keyword and include sold out products with available attributes to filter
    • Basic selling flow
      • Homepage
      • Product list
      • Product detail
        • Availability and count info in products
        • Add products to cart
        • Variants tree
      • Shopping cart (Basket)
        • Shopping cart list
        • Voucher (discount code)
      • Shipping and payment
      • Checkout
        • Completing order – payment flow
    • Contact form
    • Headless CMS
    • Caching
    • Known Issues
    • FAQ
Powered by GitBook
On this page
  1. frontstore

Known Issues

This is the list of Known issues with TheShop administration and frontstore.

Expand the Known issues below to see the details and solution.

Session cookie issue

Problem

We experienced a problem when a frontstore and TheShop administration were present on the same domain, e.g. theshop.dev as a frontstore and theadmin.theshop.dev as an administration.

The problem was detected when frontstore set SESSION_DOMAIN to theshop.dev. In this case, Laravel creates the cookie domain name as .theshop.dev which means it affected also our subdomain when this cookie has changed.

Solution

Two changes have been made to resolve this issue:

  • Our application is now SPA based on JWT, which means we are using no sessions.

  • We removed SESSION_DOMAIN from .env file in a frontstore.

PreviousCachingNextFAQ

Last updated 2 years ago