Marcelo
Marcelo

Reputation: 31

Magento - Free Shipping Message

How can I make appear a free shipping message in product list and product page and cart?

The message should appear in the product list and product page only if the price of the product is bigger than $50, and in the cart if the total is bigger than $50.

How can I do this?

Upvotes: 2

Views: 2046

Answers (3)

One Below Zero
One Below Zero

Reputation: 1

Have used the above successfully and added a second message to encourage people to buy up to £50.00 for free shipping

        <?php if ($_product->getSpecialPrice() > 50.00):
        echo $this->__('With Free UK Shipping');
        endif; ?>

        <?php if ($_product->getSpecialPrice() < 50.00) :
        echo $this->__('Spend £50.00 To Get Free UK Shipping');
        endif; ?>

Problem is these message are based only on the SpecialPrice but i need it to show the message based on Price (RRP) if SpecialPrice is null or 0 Not a great coder but could do with some help Would also like to have statement showing how much more needs to be purchased before free shipping

Upvotes: 0

Nikhil_K_R
Nikhil_K_R

Reputation: 2373

Hi Marcelo,
To display free shipping message on product details page : template/catalog/product/view.phtml

$productprice = echo $_product->getPrice();
if($productprice >= 50)
{
echo 'free shipping is available for this product if cart total is greater than $50';
}

To display on product listing page to have add photo tagging above product image "Free shipping". path : template/catalog/category/view.phtmladd condition similar as above

To avail free shipping for cart taotal greater than $ 50 :
Go to admin :

System > Configuration > Sales > Shipping Methods

Enabled : Yes
Minimum cart Total : 50
Hope This helps you . . .

Upvotes: 3

ADM
ADM

Reputation: 272

you can download this extension free-shipping-incentive and modify/upgrade/edit etc it, change it the way you want it to be.

Get the idea from:

  1. here
  2. here
  3. here

Upvotes: 4

Related Questions