Customization- Horizon

HI,

I need a few changes to my theme, maybe someone here can help:

  1. remove quick add to cart buttons only from products in a specific collection (both the collection and these products assigned their own template)
  2. make it that those products only get displayed on that 1 collection. Dont want them on the catalog page, nor on the “you may also like” section.
  3. add a 1 line text below the product title, so that it’s part of the H1 but has a smaller font. Alternatively, add a “| [text]” on the same line as the product title, but using a different font. Point is, I want product titles to have 2 parts.

I’m using horizon theme, thanks.

P.S.

is it possible to make clicking enter in product descriptions NOT skip a row? Sometimes I just want to start in a new paragraph, but dont want the space bet paragraphs.

Hi @user520

Welcome to the Shopify Community! Please share your store URL and password (if it’s password-protected), so I can check and provide you with the exact solution.

Best regards,
Devcoder :laptop:

Hi!

It is lart2heart.com
Just to make sure- you’re not gonna do anything, just check and let me know, yeah? :slight_smile:

Hi @user520

Yes, you’ve only shared the frontend URL with me and not the admin access, so I’m just checking everything on the frontend.

Best regards,
Devcoder :laptop:

Use Shift-Enter for this.

@user520 ,

Remove Quick Add only for one collection

{% unless collection.handle == 'your-collection-handle' %}
  <!-- quick add code -->
{% endunless %}

Show those products ONLY in that collection
Exclude their custom product template everywhere else:

{% unless product.template_suffix == 'special' %}
  {% render 'card-product', product: product %}
{% endunless %}

Product title with 2 parts (same H1)

<h1>
  {{ product.title }}
  <span class="subtitle">{{ product.metafields.custom.subtitle }}</span>
</h1>
.subtitle { display:block; font-size:.7em; }

Enter without big gaps (description)

.product__description p { margin:0; }

(or use Shift + Enter )

Hi,
can you please explain how to use these?