Dynamic Display Logic in Cart Options

There are two types of display logic within Cart Options:

  • Block Conditions. Control the display properties of blocks based on the blocks in the same options set.
  • Cart Conditions. Control the display properties of blocks based on the properties of the cart.

Block Conditions control the interaction of functionality blocks. For instance – if you only want to show the gift message block if an upsell is selected – this would be set up as a Block Condition.

First, select the Block within your Cart Options set, and select Display Rules. Then, under Block Conditions, select what other Block you want to choose as the trigger, and then choose the status. For instance, if Upsell is selected:

Cart Conditions work in the same way, though the trigger will be a property of the cart, such as what products are present in the cart, or what the total value of the cart is.

For instance, only show the Gift Message option if the total value of the Cart is over $20:

You can stack as many Block or Cart Conditions as you need to, and Giftship will read them and properly render the relevant functionality Blocks based on their logic.

There is also a master option to choose to display the Cart Option set only if certain products are in the Cart.

Go to the master Display Options and then choose whether to Always display on the cart page – or whether you would only like to display if certain products are in the Cart:

Can't find the answer in our documentation?
Contact Support