less than a minute read • Updated 20 minutes ago
Hide product options in the cart
How to hide specific product options from displaying in the cart and receipts.
By default, all custom options passed to Foxy are displayed in the cart and on order receipts. You can hide specific options from customers by prefixing the option name with three underscores ___.
How to set it up
Prefix any option name with ___ (three underscores) to hide it from the cart display:
<form action="https://YOURSUBDOMAIN.foxycart.com/cart" method="post">
<input type="hidden" name="name" value="T-Shirt" />
<input type="hidden" name="price" value="19.99" />
<input type="hidden" name="___internal_ref" value="ABC123" />
<input type="submit" value="Add to cart" />
</form>
The ___internal_ref option will be stored against the order but will not be visible to the customer in the cart or on receipts.
Notes
Hidden options are still stored against the order and visible in the Foxy admin and in datafeed output — they are only hidden from the customer-facing cart and receipt display.
Google Analytics parameters (
_ga_*) are hidden automatically and do not require the triple underscore prefix.This is useful for passing internal references, tracking data, or other metadata alongside an order without exposing it to customers.