Is it possible to setup a condition on order processing to check if it's the users first time making a purchase on the store? I'd like to run this check inside the first_time_accessed condition...
Mar 11, 2020
I am trying to generate automatic alt text from a filename when using an image file from assets. I do this with image.src but I am not sure how to do this when using a static asset filename. ...
I have been looking at the: How to Manipulate Images with the img_url Filter and Using Responsive Images to Decrease Page Loading Times blog articles and I am curious what are some best pra...
Is there a way to create a condition to control how many products display on a collection page by device width? I know that Liquid is server-side but I am wondering if anyone has found a way...
Is it possible to target the Current Selected Variant ID and SKU on a PDP Dynamically as the user makes the Selections on Style and Size? I would like to target this data via JavaScript to t...
In Shopify on order.liquid I am trying to add a return button to orders that are only fulfilled. I am having trouble adding this to partial orders that have various fulfillment statuses. Is there a w...
No content to show
User Activity
06-29-2021
Thanks @Dirk ,The reason we would like to display the order number in the receipt is for returns.We have a UI where customers enter the order number and their postal code to initiate a return through a web interface.Because the order number is not on...
06-29-2021
Is there a way through liquid or API that we can add the order number to display on POS Printed Receipts?It looks like there was a Shopify update that replaced the order number with a receipt number.Our customers use the Order Number for returns so i...
12-29-2020
Still haven't found a way to load liquid and minify but I have some ideas. Here is the project wip: https://github.com/3daddict/themekit-webpack
I have been playing with Variable Scope to make reusable components.For example: {%- include 'modal', id: 'modal', onClick: 'modalBtn' -%}We can pass key: value pairs to the snippet where a variable can be reassigned within the variable scope.I was w...
Anyone found a solution for this yet?Would be cool to use preview links on audit and pagepseed sites like /gtmetrix.com when they are still in development. Without being able to send the password in the url we are limited to using lighthouse in devto...
11-01-2020
Anyway we can do something like this Sapper - Prefetch in this video is shows how we can pre load data before the use goes to that page.I am trying to set this up with themekit and webpack but haven't quite figured it out yet.
11-01-2020
@Preben_Frenning did you figure out a good way to this yet?I am looking for some examples of how to properly prefetch or preload items in a Shopify theme.Something like loading product images on product pages on hover from a link on a collection page...
09-09-2020
I'll be sure to update anything I find here. Typically, I usually learn that if it's not done already there is usually a good reason why haha.
09-09-2020
Thanks @ahenriksen,I have found the hayes0724/shopify-webpack-themekit & krjo/shopify-webpack-dev-workflow helpful in setting things up.I know we can keep liquid free of whitespace if we use {{-, -}}, {%-, and -%} with hyphens but what about the html...
09-01-2020
Has anyone setup ThemeKit with Webpack 4?I am looking for a way to compile .liquid files with some of the following:Minify liquid code, remove whitespaces & commentsUse wildcard directories for example './src/components/**/*.liquid’Has anyone done th...