Shopify themes, liquid, logos, and UX
I'm using the REFRESH theme and have installed the subscriptions app. On login, I'd like for the user to be directed to the Shop main page, but they are currently directed to the Orders page. I've tried:
<div class="account-menu"> <a href="/account/login?return_to=/collections/all" class="menu-item">Log In</a> <a href="/account/register" class="menu-item">Register</a> </div>
and
<div class="account-popup" id="accountPopup">
{% if customer %}
<div class="account-menu">
<div class="account-header">
<p>Hello, {{ customer.first_name }}!</p>
</div>
<div class="menu-section">
<a href="/collections/all" class="menu-item">
<span class="icon">🛍️</span>
Shop
</a>
<a href="/account/orders" class="menu-item">
<span class="icon">📦</span>
Order History
</a>
</div>
{% if customer.tags contains 'active_subscriber' %}
<div class="menu-section member-section">
<h4>Member Access</h4>
<a href="/pages/members-video" class="menu-item">
<span class="icon">🎥</span>
Video Library
</a>
</div>
{% endif %}
<div class="menu-section">
<a href="/account/logout" class="menu-item logout">
<span class="icon">↪️</span>
Log Out
</a>
</div>
</div>
{% else %}
<div class="account-menu">
<a href="/account/login?return_to=/collections/all" class="menu-item">Log In</a>
<a href="/account/register" class="menu-item">Register</a>
</div>
{% endif %}
</div>
<input type="hidden" name="return_to" value="/collections/all" />
and
<div class="account-menu">
<a href="/account/login?return_to=/collections/all" class="menu-item">Log In</a>
<a href="/account/register" class="menu-item">Register</a>
</div>
I can see that it flashes the shop page for a milli-second , but then goes to orders - something is still redirecting it. Anyone know what that might be or where I can look?
Hi @jcestlin ,
Have you tried to redirect it using javascript?
In Canada, payment processors, like those that provide payment processing services t...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025