Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move Cart Toggle to Header/Nav #843

Open
ravish-goel opened this issue Jun 12, 2023 · 1 comment
Open

Move Cart Toggle to Header/Nav #843

ravish-goel opened this issue Jun 12, 2023 · 1 comment

Comments

@ravish-goel
Copy link

Hi folks,

As you already know the cart toggle options are very limited. How can I render the cart toggle inside a div in the header so that I can open that from any of the site pages? For now it appears on the extreme right side of the screen in the middle (vertically). But as soon as I navigate away from the product page, I lose the option to open my cart. So I want to move it to the top inside the header.

@rplakas
Copy link

rplakas commented Jul 26, 2023

If you put buy button code starting at <script type="text/javascript"> (don't use the div section) into the header code of your website, you can get the cart to display on all pages (still on the right side).

That might also work if you're able to insert an actual HTML section into the header/menu of your website (haven't tried that)

<script type="text/javascript"> /*

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants