How can I set a RapidCart page for donations with modifiable price?


Enable the Custom layout field in Options windows and paste this code:

<div class="rcItem column%COLUMN_STYLE%" id="rcItem%ID%">
    <input type="hidden" name="sku" value="%SKU%" />
    <input type="hidden" name="name" value="%NAME%" />
    <input type="hidden" name="taxes" value="%TAXES%" />
    <input type="hidden" name="shipping_1" value="%SHIPPING_1%" />
    <input type="hidden" name="shipping_2" value="%SHIPPING_2%" />
    <input type="hidden" name="limit" value="%PURCHASE_LIMIT%" />
    <input type="hidden" name="weight" value="%WEIGHT%" />
            <td class="rcItemImage">
                <div class="rcItemThumb"><a href="%IMAGE_PATH%" rel="remooz"><img id="rcThumb%ID%" src="%THUMB_PATH%" alt="%NAME%" /></a></div>
                <div class="rcItemName">%NAME%</div>
                <div class="rcItemDescription">%DESCRIPTION%</div>
                <div class="rcItemInfo">
                    <div class="rcItemPrice">$ <input type="text" size="5" name="price" value="0.00" /></div>
                    <div class="rcItemButtons">
                        <span style="display: %DISPLAY_QUANTITY%;"><input type="text" name="quantity" value="1" size="3" /> &times; </span>
                        <input type="button" value="%ADD_TO_CART%" onclick="rc.addItem('%ID%', this);" %OUT_OF_STOCK% />

Previewing the page you will see a free box area where clients can fill with their donations. You can also modify “Add to cart” label with “Make a Donation”.

Donation example image

Next: Dinamically change product price depending on input