document.write("
| Price Group Settings |
| These are the Setting for all the Promotion Types |
| |
| Multiplier |
| |
| <PriceGroup_Add> |
| <Name>Multiplier Points Test #1</Name> |
| <Eligibility>All</Eligibility> |
| <Module>points</Module> |
| <ApplyToAllProducts>1</ApplyToAllProducts> |
| <Settings> |
| <Promotion type="Multiplier">3</Promotion> |
| </Settings> |
| </PriceGroup_Add> |
| |
| |
| Fixed |
| |
| <PriceGroup_Add> |
| <Name>Fixed Points Test #1</Name> |
| <Eligibility>All</Eligibility> |
| <Module>points</Module> |
| <ApplyToAllProducts>1</ApplyToAllProducts> |
| <Settings> |
| <Promotion type="Fixed">30</Promotion> |
| </Settings> |
| </PriceGroup_Add> |
| |
| |
| Absolute |
| |
| <PriceGroup_Add> |
| <Name>Absolute Points Test #1</Name> |
| <Eligibility>All</Eligibility> |
| <Module>points</Module> |
| <ApplyToAllProducts>1</ApplyToAllProducts> |
| <Settings> |
| <Promotion type="Absolute">20</Promotion> |
| </Settings> |
| </PriceGroup_Add> |
| Product Customfields |
| This will allow you to update the accru_off, redem_off, and min_points points customfields per Product |
| |
| <Product_Customfield module="points" feature="field_prod" product="my_product" field="accru_off">1</Product_Customfield> |
| <Product_Customfield module="points" feature="field_prod" product="my_product" field="redem_off">1</Product_Customfield> |
| <Product_Customfield module="points" feature="field_prod" product="my_product" field="min_points">300</Product_Customfield> |
| Category Customfields |
| This will allow you to update the min_points points custom field |
| |
| <Category_Customfield module="points" feature="fields_cat" category="my_category" field="min_points">100</Category_Customfield> |
| |
| Customer Point Transaction: Add |
| |
| <Module code="points" feature="payment"> |
| <CustomerPointTransaction_Add customer="my_customer_login" descrip="Points Test 1" points="40" pending="0" /> |
| </Module> |
| |
| |
| <Module code="points" feature="payment"> |
| <Settings> |
| <BaseAccrualMode>Price/Item</BaseAccrualMode> |
| <BaseAccrualRate>1</BaseAccrualRate> |
| <RedemptionMode>Fixed/PerPoint</RedemptionMode> |
| <AccrualTime>Order/Shipped</AccrualTime> |
| <PointExpirationDays>365</PointExpirationDays> |
| <RedemptionTiers> |
| <RedemptionTier points="100" rate="10" /> |
| <RedemptionTier points="200" rate="25" /> |
| </RedemptionTiers> |
| </Settings> |
| </Module> |
");