Updated on December 9, 2020
Alpaca uses line item attributes to store information for pickup and delivery scheduling on the theme. Themes are supposed to automatically hide any line item attributes that start with an underscore, however, sometimes this isn’t the case. Here’s how to hide _alpaca_id from appearing on your theme.
Note: you will need to edit code to make this change.
cart.liquid
or cart-template.liquid
. You’re looking for the following line of code: {% for p in item.properties %}
or {% for p in properties %}
.for
loop, paste the following code at the beginning of the for loop:
{% assign stringToCheck = p.first %}
{% assign startsWith = '_' %}
{% assign checkArray = stringToCheck | split:startsWith %}
{% if checkArray[0] != blank %}
[replace this line]
{% endif %}
for
loop. Remove the line of code that says [replace this line]
and paste in the code you just copied.How to completely remove Alpaca from your online store
Updated on December 9, 2020
How Alpaca adds pickup and delivery rates to your checkout
Updated on October 22, 2020
How to add dynamic content to your notifications
Updated on October 13, 2020
How to restrict local delivery rates to specific zip or postal codes
Updated on August 25, 2020
How to display pickup information in your email and SMS notifications
Updated on August 19, 2020
Set when you offer pickup and other options regarding curbside pickup
Updated on June 2, 2020
Manage the prices and options for local delivery
Updated on June 2, 2020
How to modify the fonts and colors of the pickup CTA
Updated on June 2, 2020
How to display a pickup CTA on your storefront
Updated on June 2, 2020
Send us an email and we'll get back to you as soon as we can.