Announcement

Collapse
No announcement yet.

Free Product added to cart

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Free Product added to cart

    I know this has been a request as far back as V8, but have never seen anyone post where it has been achieved.

    So in 2022 on V18 is it possible to automatically add a free item to the cart if the order exceeds a certain amount.

    Regards

    Jason

    Titan Jewellery (Swift Design)
    Zirconium Rings
    Damascus Steel Rings

    #2
    Hi Jason.

    That can't presently be done out of the box. We might be able to do it as a customisation, but there would be a cost to that. You would have to contact your Sellerdeck account manager about it. You would need to consider how to avoid the item adding to the shipping cost - otherwise the 'free' product wouldn't actually be free to the customer, which they might object to if it's added without their intervention.

    The following setup offers the additional product when adding to cart, but it does not add it automatically:
    • set the maximum order quantity of the Catalogue product to 1
    • create a product group 'All products' with all products except the one you want to offer
    • create a 'Cart Contents' discount
      • based on quantity
      • trigger 1
      • product group 'All products'
      • reward 100% of Extra Product (select the product)
    Bruce Townsend
    Ecommerce Product Manager
    Sellerdeck Ecommerce Solutions

    Comment


      #3
      You'd also need to ensure that the free product would be automatically removed if the customer adjusted the cart contents to below the threshold.

      A simple solution might be to just display a message that you have a free product if the cart value meets the threshold. A smallish Perl tweak to the ActinicOrder.pm "sub GenerateShoppingCartLines" would do it for the Cart and Checkout. You'd need another tweak to OrderScript.pl to pass this info to the Email and Order.

      Here's my little test to display a line if the Cart total is £50 or more:

      Look in ActinicOrder.pm (back it up first) for the line (there's only 1 instance):
      Code:
      	$ACTINIC::B2B->SetXML("OrderLine", $sOrderLines);
      Above it add:
      Code:
      	if ( $nTotal >= 50 * 100 )	# nTotal is in pennies
      		{
      		$sOrderLines .= '<tr><td class="cart" colspan="5">Free gift included.</td></tr>';
      		}
      Norman - www.drillpine.biz
      Edinburgh, U K / Bitez, Turkey

      Comment


        #4
        Many thanks to you both, although still
        feels like a bit of a messy work around.

        At the moment I have the free product added as a component to each product which works fairly well. The only down side is that if someone orders 4 products, the component shows up 4 times.
        Regards

        Jason

        Titan Jewellery (Swift Design)
        Zirconium Rings
        Damascus Steel Rings

        Comment

        Working...
        X