<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://wiki.foxycart.com/lib/exe/css.php?s=feed" type="text/css"?>
<rss version="2.0">
    <channel xmlns:g="http://base.google.com/ns/1.0">
        <title>Foxy Wiki - snippets</title>
        <description></description>
        <link>https://wiki.foxycart.com/</link>
        <lastBuildDate>Sat, 22 Aug 2026 16:29:07 +0000</lastBuildDate>
        <generator>FeedCreator 1.8</generator>
        <image>
            <url>https://wiki.foxycart.com/_media/wiki/dokuwiki.svg</url>
            <title>Foxy Wiki</title>
            <link>https://wiki.foxycart.com/</link>
        </image>
        <item>
            <title>discounts</title>
            <link>https://wiki.foxycart.com/snippets/discounts?rev=1707414370&amp;do=diff</link>
            <description>Discount Logic Helper

This helper is no longer available, but the same UI is available on the coupons and category pages within the administration.

If you need assistance in creating a discount, please don't hesitate to contact our support team.</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 08 Feb 2024 17:46:10 +0000</pubDate>
        </item>
        <item>
            <title>form_field_validation</title>
            <link>https://wiki.foxycart.com/snippets/form_field_validation?rev=1493190150&amp;do=diff</link>
            <description>Validating Add-To-Cart Form Inputs

Assuming a basic HTML add-to-cart form like this, where you want to ensure that the select element isn't empty before you all the product to be added to the cart:


&lt;form action=&quot;https://buckcard.foxycart.com/cart&quot; class=&quot;foxycart&quot; name=&quot;form6&quot; id=&quot;form6&quot; method=&quot;post&quot;&gt;
    &lt;input type=&quot;hidden&quot; name=&quot;name&quot; value=&quot;Fancy T-Shirt&quot; /&gt;
    &lt;input type=&quot;hidden&quot; name=&quot;price&quot; value=&quot;19.95&quot; /&gt;

    &lt;strong&gt;Size:&lt;/strong&gt;
    &lt;select name=&quot;shirt_size&quot; id=&quot;shirt_size&quot;&gt;
 …</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Wed, 26 Apr 2017 07:02:30 +0000</pubDate>
        </item>
        <item>
            <title>start</title>
            <link>https://wiki.foxycart.com/snippets/start?rev=1493190150&amp;do=diff</link>
            <description>[Snippets]

Advanced Code Snippets with Reference to Forum Posts
not supportedyou can break thingswill not work

Are you using FoxyCart version 2.0? Due to a complete revamp of the javascript in version 2.0, none of the below snippets will work in the new version. See</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Wed, 26 Apr 2017 07:02:30 +0000</pubDate>
        </item>
    </channel>
</rss>
