Hi There,
Could any guru advise me on how to change the width of the View-Cart button? I will like to set it to a fixed pixel width.
Look forward to your help!
Thank you
Best regards
Robert
Hi There,
Could any guru advise me on how to change the width of the View-Cart button? I will like to set it to a fixed pixel width.
Look forward to your help!
Thank you
Best regards
Robert
Thank you. Out of those 3, I can only found 1 for their file reference lol
Anyway, can I do this for .js files also? Is it the same step?
Hi, back again.
The add to cart button was working (briefly), but has stopped again.
The attached screenshot shows the error message when the add to cart button is clicked, and clicking on /cart/add.js:1 in Console yields:
{"status":"bad_request","message":"Parameter Missing or Invalid","description":"Required parameter missing or invalid: id"}
I seriously touched nothing between it working one minute and not the next.
Help desperately needed ...
R
Hello
I am using DEBUT them and trying to add buttons to all items (like add to backet).
I am unsable to find where should I add this that this will be added to every item/product on "Featured collection" section.
file;: collection.liquid
{% for i in (1..product_limit) %}
<li class="grid__item grid__item--{{section.id}} {{ grid_item_width }}">
<div class="grid-view-item product-card">
<a class="grid-view-item__link grid-view-item__image-container full-width-link" href="#">
<span class="visually-hidden">{{ 'homepage.onboarding.product_title' | t }}</span>
</a>
<div class="grid-view-item__image-wrapper">
{% capture current %}{% cycle 1, 2, 3, 4, 5, 6 %}{% endcapture %}
{{ 'product-' | append: current | placeholder_svg_tag: 'placeholder-svg' }}
</div>
<div class="h4 grid-view-item__title" aria-hidden="true">{{ 'homepage.onboarding.product_title' | t }}</div>
{% include 'product-price' %}
</div>
</li>
{% endfor %}
I tried to add after {% include 'product-price' %} but it is not displayed. I do not know if I am adding this to right filein code editor under Sections but from looking at page it should be.
thank you!
miha
Nice Turbo is actually one of my favorite themes. I haven't seen this problem with that theme before, so I'm guessing an app is the culprit.
By that error description, it looks like you're missing the variant id in passing to the add to cart form. Referenced from Shopify add to cart api doc.
My guess is that either an app is altering your variants, or producing a conflict/javascript error breaking the functionality. You can look for console errors by opening the site in Chrome and pressing CMD + Option + J (on mac, or Ctrl + Shift + J on windows). If you see some read errors, you can investigate those to try and find the source of the problem.
For example, maybe one of your apps is loading on the new theme, but you haven't installed all the app files in the new theme, so it's causing breakage. That's my best guess.
OMG, thank you so, so much. I had an app that I hadn't installed on this theme, but hadn't deleted as I wanted to export some data before I did. It's now gone and - joy of joys - I can add to cart!! You are awesome :)
Hi,
I want to change the "add to cart" button behaviour from taking customers to cart page. I want it to only add products without going to cart page so customers can continue shopping.
I followed the instructions on this link but it didn't change anything.
Theme used: Debut
Does anyone have any solution?
Is it possible to put all the suppliers from a database into shopify en mass, before having to add the them through a purchase order on the transfer process and connect them with a product?
The scenario...a 2nd hand store
Supplier brings in products in the store, they are entered into the system, an automatic email is sent to the supplier with the details of products left. After a finite amount of time an email is automically sent to the supplier to say if any of the items have been sold and what is to be sent to the sale room. After another short period another automatic email is sent to the supplier to tell them to pick up remaining items and monies made from any sales.
Is this possible?? I just can't see any way of entering information already received from these suppies quickly so that the products can be catalogued afterwards
Thank you x
Hi Ciaran , As the second site shown above, with Supply how it is possible to obtain a top bar with login and cart on the right and below have the logo with the bar on the same line ... maybe even the search :). Thanks in advance!
Hello, I had the same problem, it is solved now, thank you so much! Can you please share the code for the compared prize in red aswell?
@r1nk - Be careful just renaming a css.liquid file to scss.liquid. If the base css has errors, the scss rendering will fail and won't be created. Test this in an unpublished theme - never in the live one. If it fails, it will take a little effort to find the errors withing.
There's no process for JS files to be automatically minified. For a standard JS file there's free online services you can use to minify the code. For js.liquid files that's more complicated so you may want to work with someone on that.
In either case the minification is less likely to the main issues behind page speed, but a combination of different things. Let's see if your other posts got some replies.
@all others posting here. Adding referral links onto urls is spammy and devalues the reasons behind you adding the link in the first place. If you really want to share the url - just do it without the money making code attached. We really don't want to see the forums filled with nothing but referral links. Those posts have been removed.
Hi,
Canopy template has shows it is possible to make Sub Category on top menu. I can't add an image here so here is the sample link:
https://themes.shopify.com/themes/canopy/styles/elda/preview
Click on 'Shop' there are 3 categories comes up. This is the menu I'd like to create. Any ideas how can I create such a menu?
Thank you
No need to offer cash, though some posts do get missed. You actually make it harder to find by self replying with a bump since they no longer sit in the "zero reply" section.
Let's start with a link to the store so there's a better sense of what version of the theme we could be working worth.
What's the code surrounding that? One line doesn't give enough context.
Thanks for responding Jason, here the the code around it.
<div class="grid-item one-third"><h1>{{ 'customer.order.title' | t: name: order.name }}</h1><strong>Ordered On:</strong> {{order.created_at | date: "%a, %b %d, %Y" }} at {{order.created_at | date: "%H:%M" }}<br><strong>{{ 'customer.order.payment_status' | t }}:</strong> {{ order.financial_status_label }}<br><strong>{{ 'customer.order.fulfillment_status' | t }}:</strong> {{ order.fulfillment_status_label }}<br><strong>Payment Method:</strong> {{ transaction.gateway }}<br></div><div class="grid-item one-third"><h4>{{ 'customer.order.billing_address' | t }}</h4><h5>{{ order.billing_address.name }}</h5><p>
{% if order.billing_address.company != '' %}
{{ order.billing_address.company }}<br>
{% endif %}
{{ order.billing_address.street }}<br>
{{ order.billing_address.city }}<br>
{% if order.billing_address.province != '' %}
{{ order.billing_address.province }}<br>
{% endif %}
{{ order.billing_address.zip | upcase }}<br>
{{ order.billing_address.country }}<br>
{{ order.billing_address.phone }}</p></div><div class="grid-item one-third"><h4>{{ 'customer.order.shipping_address' | t }}</h4><h5>{{ order.shipping_address.name }}</h5><p>
{% if order.shipping_address.company != '' %}
{{ order.shipping_address.company }}<br>
{% endif %}
{{ order.shipping_address.street }}<br>
{{ order.shipping_address.city }}<br>
{% if order.shipping_address.province != '' %}
{{ order.shipping_address.province }}<br>
{% endif %}
{{ order.shipping_address.zip | upcase }}<br>
{{ order.shipping_address.country }}<br>
{{ order.shipping_address.phone }}</p></div>
Hey all, I am developing a new syncing service that pairs with a static-site generator for creating auto-rebuilding/redeploying static sites. It is basically a replacement for the Shopify frontend, and it uses Liquid and Jekyll-style frontmatter for familiarity. I am currently working on the Shopify data adapter, allowing template files to reference products, collections, etc. and wanted to give anyone who might be interested the chance to sign up as a beta-tester.
There is really no faster website than a statically-generated one, so if that interests you or your clients, do please reach out and ask whatever questions you have!
Cheers,
Brendan
Hi ,
I want to know how to include the header(the part with home , catalog , search and cart) in my main picture from the website. now my header(if that's the name of the white bar) is white . My theme is brooklyn!
Ty very much for all the help!
Hi , when I insert this code everything goes crazy... ! what can I do ? I have brooklyn theme!
Looking for a bit of help on this one.
I have a theme with jQuery that updates the stock levels on the page - nothing new about that.
I wrote some code to interpret transfers and the variants - displaying if there is incoming inventory.
I want this to change in real time when variants are selected.
if (variant.incoming) {
if (variant.next_incoming_date!=null){
jQuery(".product-stock-due span").text(variant.next_incoming_date);
} else {
jQuery(".product-stock-due span").text(" Soon ");
}
} else {
jQuery(".product-stock-due span").text(" None Due ");
}
no matter what I do - it will not update the span with the correct data - I know there are variants of the same product that have incoming inventory and some that do not.
Everything else working and I can see jQuery is updating the span - just never shows anything but the None Due default.
A process of testing as best I can seams to indicate tha the variant.incoming is not returning "true" as it should - because there is a transfer in place for variants of the product.
Any ideas?
Hey I am having trouble adding the logo centered to the header, its currently its own space and takes up too much screen real estate.
I am using the Supply theme
Ive added screenshots of what It currently looks like, to what I want it to look like.
I want my logo to be displayed inside the blue header, centered.
Like in my example of gymshark, look where the logo is positioned
want ^^