
Pyxl Bulk Discounts
App overview
This app comes with 2 blocks and 1 Discount function. These apps are explained in detail below.
Requirements
This app works from 2 different metafields - pyxl_design.bulk_pricing and pyxl_design.request_quote. To create your metafields you will need to navigate to Settings > Metafields and metaobjects > Products and click Add definition - Once you are there you will be able to add these 2 meta fields.
Below are some screenshots to show you what it should look like:
Bulk Pricing Screenshot

Request Quote Screenshot

Pyxl Bulk Pricing
The Bulk Pricing Block allows you to show off a table of discounts you would like to apply for the amount of quantity that is purchased for the product. By making this an Automatic discount it will do all the work for you when it see that the correct quantity is achieved and apply the discount.
Request Quote Block
This block helps link your hubspot forms with your products by adding a button to your products that when clicked it will open a modal with the hubspot form and add the name of the product to your form so you know which product they are inquiring about.
Discount Function
This discount function is dynamic and will work from the metafield - if there is a value provided it will apply the discount. It works as values and the percentage of discount - Example: { "25" : "30" } 25 being the minimum quantity to apply the discount and 30 being percentage of discount to be applied.
How to create a discount
First you will need to navigate to Discounts > Create discount > Select discount type > pyxl-bulk-discount-function

You will want to create this as an Automatic Discount and Set the discount code to Bulk Pricing Discount - Make sure that you have this apply in all the ways you would want this to - For my Eligibility I want this available to all customers, you can set this to your needs. For Combinations I want it to apply in combination with other Product, Order, and Shipping discounts.

Help
If you should need any help and support with this app please feel free to reach out to us using the contact form below.