> For the complete documentation index, see [llms.txt](https://support.functionjunctionapp.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.functionjunctionapp.com/function-junction/function-examples.md).

# Function examples

With Function Junction, you can create custom discounts that can replace Shopify Scripts. We have a number of pre-built templates to help get you started or you can reach out to our support team!

## Need some inspiration?

Here are some examples of Functions you can create

### <img src="https://1014500990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDkhVfGScFcBCdBStIknJ%2Fuploads%2FtPnqG4nuXR4VGMpFg7La%2FGroup%202.png?alt=media&amp;token=879aa0cc-1ddf-4b46-8f13-a72f532ef5a5" alt="" data-size="line"> Specify conditions to apply a discount

* Receive a 15% order discount when you spend $200 or more.
* Save 10% off a product when you buy two or more.&#x20;
* Buy five items or more and save 10% on the entire order.
* Buy one and get one free.&#x20;
* Give 20% off to wholesale customers or members
* 20% off with a discount code.
* Free shipping for customers tagged "VIP".
* Create tiered discounts for products with a certain tag.
* Flash sale on items without having to modify the price on each product.&#x20;

### <img src="https://1014500990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDkhVfGScFcBCdBStIknJ%2Fuploads%2F78h9b1qKEiQzG3AAHIMd%2FGroup%202%20(5).png?alt=media&amp;token=3a3ce677-a289-4fd1-a296-f35b561496b3" alt="" data-size="line"> Bundle products and sell as a single unit

* Buy two promotional items and save 15%.
* Buy two items from a collection and save 10%.
* Buy an item from Collection A and another from Collection B to save 15%.
* Save 25% when you buy a product and also subscribe for refills.&#x20;

### <img src="https://1014500990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDkhVfGScFcBCdBStIknJ%2Fuploads%2F7F6vTyxvgAIVzmmm3RqZ%2FGroup%202%20(2).png?alt=media&amp;token=54a9ea61-792b-40f2-869a-a9669965cc82" alt="" data-size="line">  Change delivery methods

* &#x20;Offer free shipping for VIP customers
* Rename shipping method names for international customers
* Only offer specific specific delivery methods for certain cart values

## Need some inspiration?

Here are some examples of Functions you can create

### ![](https://1014500990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDkhVfGScFcBCdBStIknJ%2Fuploads%2FtPnqG4nuXR4VGMpFg7La%2FGroup%202.png?alt=media\&token=879aa0cc-1ddf-4b46-8f13-a72f532ef5a5) Specify conditions to apply a discount

* 20% off with code summer
* Give 20% off to wholesale customers or members
* Free shipping for customers tagged "VIP"
* Create tiered discounts for products with a certain tag

### ![](https://1014500990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDkhVfGScFcBCdBStIknJ%2Fuploads%2F78h9b1qKEiQzG3AAHIMd%2FGroup%202%20\(5\).png?alt=media\&token=3a3ce677-a289-4fd1-a296-f35b561496b3) Bundle products and sell as a single unit

* Run a promotional bundle sale for the summer

### ![](https://1014500990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDkhVfGScFcBCdBStIknJ%2Fuploads%2FAaYxF5OfLQZTg5X5bpmW%2FGroup%202%20\(1\).png?alt=media\&token=8bc6921f-26b4-45fd-982d-c94deb49275d) Change payment options

* Enable Cash on Delivery for customers with a certain tag
* Rename payment option names based on cart weight
* Disable PayPal if cart value is higher than $100

### ![](https://1014500990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDkhVfGScFcBCdBStIknJ%2Fuploads%2F7F6vTyxvgAIVzmmm3RqZ%2FGroup%202%20\(2\).png?alt=media\&token=54a9ea61-792b-40f2-869a-a9669965cc82)  Change delivery methods

* &#x20;Offer free shipping for VIP customers
* Rename shipping method names for international customers
* Only offer specific specific delivery methods for certain cart values
