Both sides previous revisionPrevious revisionNext revision | Previous revision |
v:2.0:cheat_sheet [2024/12/05 09:09] – [Special Product Options] adam | v:2.0:cheat_sheet [2025/01/27 18:40] (current) – [Standard Product Options] foxybrett |
---|
: **Accepts:** A full URI to an image, starting with ''http://'' or ''https://'', //or// a relative path to the image from the store's domain (as configured in the store settings). __Limited to 500 characters in length.__ | : **Accepts:** A full URI to an image, starting with ''http://'' or ''https://'', //or// a relative path to the image from the store's domain (as configured in the store settings). __Limited to 500 characters in length.__ |
: **Examples:** ''&image=http://example.com/path/to/image.jpg'', ''&image=local/path/to/image.png'', ''<input type="hidden" name="image" value="http://example.com/path/to/image.jpg">'' | : **Examples:** ''&image=http://example.com/path/to/image.jpg'', ''&image=local/path/to/image.png'', ''<input type="hidden" name="image" value="http://example.com/path/to/image.jpg">'' |
: **Notes:** Images will //not// be resized, but they will automatically be securely cached, so you don't need to worry about security warnings. | : **Notes:** Images will //not// be resized, but they will automatically be securely cached, so you don't need to worry about security warnings. Note also that Foxy's cache is short-term (hours to days), so if you're passing dynamically-generated images, you'll need to keep those images available on your end for Foxy to re-retrieve as necessary. |
; ''url'' | ; ''url'' |
: **Description:** A URL for the product, displayed in the cart. | : **Description:** A URL for the product, displayed in the cart. |
: **Accepts:** See the [[https://developers.google.com/analytics/devguides/collection/ga4/reference/events?client_type=gtag#add_to_cart|GA documentation for reference]] for what the values should be. __Limited to 255 characters in length.__ | : **Accepts:** See the [[https://developers.google.com/analytics/devguides/collection/ga4/reference/events?client_type=gtag#add_to_cart|GA documentation for reference]] for what the values should be. __Limited to 255 characters in length.__ |
: **Example:** ''&_ga_item_category2=Clothing'' | : **Example:** ''&_ga_item_category2=Clothing'' |
: **Notes:** <wrap important>Upcoming functionality.</wrap> These attributes are hidden from the cart automatically, so customers will not see them visually on the cart, checkout or receipt, or in the administration. | : **Notes:** These attributes are hidden from the cart automatically, so customers will not see them visually on the cart, checkout or receipt, or in the administration. |
| |
| |