Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
I am using the following plugin https://github.com/osiset/laravel-shopify for my larval Shopify app but everytime I try to add another view to the route I am getting a MissingShopingDomain Error.
I'm not sure what is causing this if its something the way my routes are being written or what's in the script tags in each of the blade templates. Thanks!
web.php
<?phpuse Illuminate\Support\Facades\Route;Route::middleware(["auth.shopify"])->group(function(){Route::view("/","welcome");Route::view("/settings","settings");});
@extends('shopify-app::layouts.default')@section('content')@endsection@section('scripts')@endsection
@extends('default')@section('content')<p> This is the welcome page </p><a href="/settings"> Go to settings</a>@endsection@section('scripts')@parent<script type="text/javascript">var AppBridge = window['app-bridge'];var actions = AppBridge.actions;var TitleBar = actions.TitleBar;var Button = actions.Button;var Redirect = actions.Redirect;var titleBarOptions = {title: 'Welcome',};var myTitleBar = TitleBar.create(app, titleBarOptions);</script>@endsection
@extends('default');@section('content')<p> This is the Settings page </p><a href="/"> Go back to welcome</a>@endsection@section('scripts')@parent<script type="text/javascript">var AppBridge = window['app-bridge'];var actions = AppBridge.actions;var TitleBar = actions.TitleBar;var Button = actions.Button;var Redirect = actions.Redirect;var titleBarOptions = {title: 'Welcome',};var myTitleBar = TitleBar.create(app, titleBarOptions);</script>@endsection
Same, shopify + php is : 💩
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025