Skip to content

Instantly share code, notes, and snippets.

View mariusa's full-sized avatar

Marius A mariusa

View GitHub Profile
@mariusa
mariusa / all-colors-variants-on-product-page.liquid
Last active January 27, 2023 08:10
all-colors-variants-on-product-page
<!-- How to handle multiple Color variants on Shopify: Show all colors on the product detail page
Details at https://eushopa.com/ -->
{%- assign product_tags = product.tags | join: ', ' -%}
{%- if product_tags contains 'group-' -%}
<div class="swatch_options">
<div class="swatch clearfix">
{%- for tag in product.tags -%}
{%- if tag contains 'group-' -%}
{% assign collection_handle = tag | downcase | replace: ".", "-" %}
{%- if collections[collection_handle].products.size > 1 -%}
@mariusa
mariusa / setup.sh
Last active December 14, 2022 09:35
# Find the downloaded image, right-click on it, go to Open With, and click Disk Image Writer.
# Select your USB stick as the Destination, and click Start Restoring.
Partitions
bios boot 2M
/boot 512M
/boot/efi 200M
for next ones, choose LVM after creating:
@mariusa
mariusa / osx-dev.md
Last active December 22, 2015 15:58