Gravity Forms eCommerce Fields | Gravity Perks by Gravity Wiz

1644755984 Gravity Forms Ecommerce Fields Gravity Perks By Gravity Wiz
  • Description
  • FAQ
  • Screenshots
  • DEMO
  • Updates & Support

This plugin is a part of Gravity Perks, a collection of 37+ very important Gravity Bureaucracy addons with toughen you’ll be able to depend on.

What does it do?

With the GF eCommerce Fields plugin you’ll be able to simply upload eCommerce box sorts in your Gravity Bureaucracy. The brand new pricing fields come with Bargain, Tax, and Subtotal. This plugin additionally improves upon the capability of Gravity Bureaucracy’ Coupons and Transport fields.

GF eCommerce additionally provides toughen for particular merge tags for together with the subtotal, coupon and cut price quantities in calculation-enabled fields in conjunction with a to hand merge tag for showing the order abstract for your confirmations and notifications.

Options

  • New pricing fields.
    New Bargain, Tax, and Subtotal fields permit you to create complex eCommerce bureaucracy.
  • Adjustable taxes.
    New Tax box calculates and applies share cut price in line with the full or a selected merchandise.
  • Versatile reductions.
    New Bargain box applies flat or share cut price to the full or explicit merchandise. Use conditional good judgment to just observe the bargain when sure stipulations are met.
  • Useful subtotals.
    Assist your customers higher perceive their orders; display the subtotal sooner than transport, coupons and taxes were carried out.
  • Tight integration with current Gravity Bureaucracy fields.
    The Coupons and Transport fields were stepped forward to raised combine with Subtotals, Reductions and Taxes.
  • Calculation-ready merge tags.
    Make customized calculations in line with the subtotal or coupon and cut price quantities with Gravity Bureaucracy’ calculation characteristic and GF eCommerce merge tags.
  • Progressed order abstract.
    We’ve totally remodeled the order abstract to toughen the brand new pricing fields and make it even more straightforward to digest.
  • Seamless, easy-to-use UI.
    Integrates at once with the Gravity Bureaucracy toolbar. A unmarried click on turns on the preview.
  • Automated updates.
    Get updates and newest options proper for your dashboard.
  • Superior toughen.
    We’re right here to assist! And we imply it.

Documentation

  1. How do I allow this capability?
  2. Characteristic Main points
    1. Fields
      1. Tax Box
      2. Subtotal Box
      3. Bargain Box
      4. Coupon Box
      5. Transport Box
    2. Merge Tags
      1. {subtotal}
      2. {coupons}
      3. {reductions}
      4. {order_summary}
  3. Developer’s Notes
  4. FAQs
    1. How can I programmatically set the bargain quantity?
    2. Can I deduct a deposit from the Order Abstract?
  5. Hooks

How do I allow this capability?

This report assumes you know the way to create a sort. For info on growing a sort, seek advice from Growing a sort.

Fields described on this report will also be discovered below Pricing Fields. Pricing Fields permit you to upload fields in your shape to calculate pricing for promoting items and products and services.

1644755977 207 Gravity Forms Ecommerce Fields Gravity Perks By Gravity Wiz

Characteristic Main points

Fields

Tax Box

The Tax Box means that you can upload a preconfigured tax to the shape. Finish customers can view the Box Label, the quantity to be paid, and the Description.

The Tax Box helps share values simplest. You’ll observe the tax to all merchandise, explicit merchandise or all merchandise except for one(s) decided on. You’ll upload a couple of Tax Fields to the shape.

The tax influences the Overall quantity. The tax isn’t integrated within the Subtotal and Bargain quantities.

1644755977 714 Gravity Forms Ecommerce Fields Gravity Perks By Gravity Wiz
Subtotal Box

The Subtotal Box is used to show the sum of the road merchandise general costs within the shape. Because the person selects merchandise and choices, the subtotal robotically updates. Finish customers can view the Box Label, the subtotal quantity, and the Description.

Subtotal does now not come with tax and reductions. You’ll make a choice if to calculate subtotal values for all indexed merchandise, explicit merchandise or to exclude the chosen merchandise. You’ll upload a couple of Subtotal Fields to the shape.

You’ll upload a subtotal for a gaggle of goods.

1644755977 245 Gravity Forms Ecommerce Fields Gravity Perks By Gravity Wiz
Bargain Box

The Bargain Box means that you can upload a preconfigured cut price to the shape. Finish customers can view the Box Label, the quantity to be discounted, and the Description.

The quantity to be discounted is usually a flat charge adjustment or a share of the cost of the product. You’ll observe the bargain to the shape general, explicit merchandise or observe to all merchandise except for one(s) decided on. You’ll upload a couple of Bargain Fields to the shape.

1644755977 917 Gravity Forms Ecommerce Fields Gravity Perks By Gravity Wiz
Coupon Box

Coupons are value discounts. The Coupon Box is to be had whilst you use the Gravity Bureaucracy Coupons Upload-on. The Coupon Box presentations the Box Label, the coupon code access box and the Description for your shape. The tip person sorts within the code to the sector and clicks the displayed “Observe” button to expose the brand new general.

Coupons scale back the quantity matter to the Tax. When GF eCommerce Fields is lively, coupon robotically won’t come with transport. Coupons may also now not affect the price of Subtotal or Bargain fields.

Transport Box

The Transport Box is a default Gravity Bureaucracy box permitting a transport price to be added to the shape. GF eCommerce Fields alters the default capability. Finish customers can view the sector label, the transport price to be paid, and the outline.

The transport worth isn’t integrated within the subtotal, reductions or coupons. The transportation charge is at all times integrated in Tax fields and the shape general.

Merge Tags

Gravity Bureaucracy makes use of merge tags to permit you to populate dynamic knowledge in quite a lot of contexts all over the plugin. GF eCommerce Fields expands this capability to give you the {subtotal}, {coupons}, and {reductions} merge tags to be used in calculation formulation and different puts Gravity Bureaucracy merge tags are supported. GFEC additionally supplies toughen for a {order_summary} for showing the order abstract in notifications and confirmations.

Gravity Bureaucracy makes use of merge tags to permit you to populate submitted box values and different dynamic knowledge in calculation of the sector values, notification emails, publish content material templates, and so forth.

1644755978 16 Gravity Forms Ecommerce Fields Gravity Perks By Gravity Wiz

The next merge tags can be utilized in calculation of box values.

{subtotal}

The sum of all product costs. This merge tag can be utilized in calculation of Quantity and Product Fields in calculation formulation. The results of the components is dynamically populated as the price for this box.

When utilized in a Calculated Product, the Calculated Product will robotically exclude itself when calculating the subtotal.

{coupons}

The sum of all coupon deductions. This merge tag can be utilized in calculation of Quantity and Product Fields in calculation formulation.

{reductions}

The sum of all cut price and coupons deductions. This merge tag can be utilized in calculation of Quantity and Product Fields in calculation formulation.

{order_summary}

Gravity Bureaucracy supplies an order abstract this is robotically appended to any access that has a Gravity Bureaucracy Pricing box. It may be inserted into confirmations and notifications the use of {pricing_fields} merge tag.

GF eCommerce Fields improves in this abstract to raised toughen the brand new Pricing fields it supplies. It additionally provides the enhanced {order_summary} merge tag in its place for {pricing_fields}.

The {order_summary} merge tag presentations a preformatted HTML desk containing the order abstract (the checklist of goods, subtotal, cut price, coupons, transport, taxes and grand general). This merge tag can be utilized in spaces corresponding to notifications and confirmations to preview the order knowledge.

Gp-Ecommerce-Fields-Featured-Order-SummaryInstance output of the {order_summary} merge tag.

Don’t use {pricing_fields} merge tag; use {order_summary} as an alternative. GF eCommerce Fields adjustments how some default pricing fields are calculated. The {pricing_fields} merge tag can occasionally show unsuitable knowledge.

Developer’s Notes

GF eCommerce Fields makes some adjustments to how Gravity Bureaucracy processes pricing fields. If you’re a developer, it would be best to take note of the next.

  • Box sorts are processed on this order:
    SubtotalReductionsCouponsTransportTaxesOverall
  • Transport is robotically excluded from Reductions and Coupons.
  • Transport is robotically integrated in Taxes and Overall.
  • Coupons are displayed within the totals phase of the order abstract, fairly than the goods checklist.

FAQs

How can I programmatically set the bargain quantity?

In the event you’d love to set the bargain for a box programmatically, use this snippet as a blueprint. Practice those steps to make use of the snippet:

  1. Paste the whole lot underneath the outlet <?php line in your theme’s purposes.php document.
  2. Replace 123 in your Shape ID.
  3. Replace 2 in your Bargain box ID and set the bargain quantity.

Can I deduct a deposit from the Order Abstract?

We’ve a snippet that permits deposit deductions. To make use of it, first obtain the snippet and upload it in your theme’s purposes.php document.

As soon as put in, replace the form_id parameter in your shape’s ID and the deposit_field_id parameter to the Product box that purposes as your deposit.

new GW_Deduct_Deposit( array(
	'form_id'          => 123, // Replace "123" to the ID of your shape.
	'deposit_field_id' => 4,   // Replace the "4" in your deposit box ID.
) );

The deposit will likely be deducted from the full any place the Order Abstract is displayed.

1644755978 588 Gravity Forms Ecommerce Fields Gravity Perks By Gravity Wiz

Hooks

Gravity Bureaucracy has loads of hooks. Take a look at our Gravity Bureaucracy Hook Reference for probably the most thorough information to Gravity Bureaucracy’ many movements and filters.

or
Shopping Cart
  • Your cart is empty.
Scroll to Top