magento coupon code for free shipping - php

I need to generate coupon code which allow customer "Free Shipping". I have generated one with following options:
Promotions -> Shopping Cart Price Rules
All Customer Groups
Specific Coupon
Coupon Code
no condition
Free Shipping - For matching items only
I am getting all shipping methods with price $0 where I want Free Shipping option included with all shipping method with their actual price. There is setting in System -> Configuration, free shipping is available for price > 100, but I want to give free shipping option to some customers using coupon. I am getting following options:
Any suggestions?

This is the way Magento rules generally work.
To implement this change, you need to either write your own extension or get a ready-to-use solution.
E.g. our Magento shipping extension is capable of doing that: http://www.mageworx.com/shipping-suite-magento-extension.html

Related

Magento "shipping method - flat rate" showing 0 on checkout page

I have set a fixed flat rate for shipping method on Magento shipping method configuration but when I checkout, the flat rate is 0 on SHIPPING METHOD - CHECKOUT PAGE !! Please check attachment. Seeking help from experts !!
Screen shot of Magento Checkout page and Shipping method configuration page:
http://imgur.com/a/YWB2e
http://imgur.com/a/O46bc
I am assuming you have installed magento with sample data. If you have installed magento with sample data.This happens.
There is a shopping cart rule with name Free shipping on all orders over $500
From admin panel go to Promotions/Shopping Cart Price Rules find above rule of may be any other rule that can cause this issue.
Click on rule to edit in our case we have thisFree shipping on all orders over $500 rule. Go inside and change status to Inactive and save rule.
Now it will show rate.

Magento shipping charge based on specific zip code and weight range

I need to calculate the shipping charge based on following to criteria.
I have fixed specific pin codes available for shipment.
The weight of the product.
Condition: If the weight of the product is within 500gms then free shipping otherwise on every 500gms additional price of Rs 50 will be added as shipping charge.
Kindly guide me as to how to achieve this in magento 1.9
Please use the Google drive link for the solution of this question and first disable all other shipping methods except this shipping then it will work properly.
Download the customised code according to the requirement.
https://drive.google.com/file/d/0B5RZxA4F3j3KWmo2WUFJWXE0ejQ/view

Magento - Determine if coupon code applied on cart page is for 'FREE SHIPPING'

Does any one know how to determine that the coupon code applied on shopping cart page is for Free Shipping through code?
I have a Shopping Cart rule created for FREE SHIPPING which works fine. But if a customer hasn't yet chosen his shipping delivery options then its confusing for them coz the coupon code does nothing for them atleast on the cart page.
They see FREE SHIPPING option on the checkout/onepage.
Hence I would need this information so that I can display the customer a valid message that the 'Coupon is applied and FREE SHIPPING option would be available to them in the next stage of Checkout'
Any ideas which file to look for and what piece of code can help me determine that my coupon code in question is for FREE SHIPPING ?
You should have a look in Mage_SalesRule_Model_Validator and than the method public function processFreeShipping(Mage_Sales_Model_Quote_Item_Abstract $item). That's where the free shipping is calculated.
You can modify/extend this to save something in session and use that to detect on frontend when the cart has free shipping or not.

Magento - Free shipping over a time period

We have a Magento Shop and the shipping settings are already set and everything works fine.
I would like to know if it is possible to set free shipping over a period without changing my shipping settings.
Example:
In May we would like to offer free shipping for all products.
But we dont want to change the shipping settings for this. Is this possible? Is there an extension for that oder is there a native solution from magento?
You can add a "Shopping Cart Price Rule" (in Magento admin under "Promotion"). There you can set a free shipping to "yes" and limit the price rule active period to whatever you like.

magento checkout: change shipping price

Scenario:
Change shipping price using variable parsed by design during checkout.
I need to change the final shipping price using some variables sent by phtml checkout.
Eg.
Shipping method 1: cost 33$
Shipping method 2: cost 23$
Shipping method 3: cost 10$
special packaging checkbox (y/n) + 10$ (set it as yes for this example)
assicuration:
I've inserted manually this checkbox, just in design but I need to increment final price and add a simple label that include this on shipment
total should be
shipment total 20$
In order to do this, you will need to write your own Shipping Module. There is a wiki article here with instructions, otherwise there are many good blog posts on the process. I would recommend that you use one of the existing Magento shipping modules (e.g. Mage_Shipping_Model_Carrier_Flatrate) as an example and then just extend the collectRates method to test for the value of your variable.

Categories