Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Page 1 of 2
How do I configure a Promotion???? Please Help!! 
 
andreladocruz
Guru
 
Total Posts:  322
Joined:  2008-05-07
Brazil
 

Friends,

I´m trying to configure a shopping cart promotion.

The rules are following:

1) Zip Code >= 09000001
2) Zip Code <= 09299999
3) Total Weight <= 2.00 (Kg)
4) Order SubTotal >= 20.00

If all these conditions applies, should have free shipping.

Attached you will see the screenshots (in Portuguese)

Any Help?

Image Attachments
CONFIG_PROMO_003.pngCONFIG_PROMO_002.pngCONFIG_PROMO_001.png
 
Magento Community Magento Community
Magento Community
Magento Community
 
andreladocruz
Guru
 
Total Posts:  322
Joined:  2008-05-07
Brazil
 

Sirs,

Does anyone can help me?

I´m trying to setup free shipping on cart using this conditions:

Zip Code >= 09000001
Zip Code <= 09299999
Weight <= 2.00
SubTotal >= 20.00

It´s not functioning.

Any trick?

 
Magento Community Magento Community
Magento Community
Magento Community
 
andreladocruz
Guru
 
Total Posts:  322
Joined:  2008-05-07
Brazil
 

Well…

Follows the images in english.

Thank´s

Image Attachments
CONFIG_PROMO_001_eng.pngCONFIG_PROMO_002_eng.pngCONFIG_PROMO_003_eng.png
 
Magento Community Magento Community
Magento Community
Magento Community
 
andreladocruz
Guru
 
Total Posts:  322
Joined:  2008-05-07
Brazil
 

I just report a Bug!

http://www.magentocommerce.com/bug-tracking/issue?issue=2460

And, as you can see, is already assigned.

Regards,

 
Magento Community Magento Community
Magento Community
Magento Community
 
Michael_1
Enthusiast
 
Total Posts:  826
Joined:  2007-08-31
 

Does removing Zip Code conditions make it working ?

 
Magento Community Magento Community
Magento Community
Magento Community
 
thE_iNviNciblE
Sr. Member
 
Avatar
Total Posts:  220
Joined:  2008-01-09
Oldenburg
 
Michael - 22 July 2008 10:26 PM

Does removing Zip Code conditions make it working ?

we have the same bug without zipcode condition ?

 
Magento Community Magento Community
Magento Community
Magento Community
 
andreladocruz
Guru
 
Total Posts:  322
Joined:  2008-05-07
Brazil
 

No!

I can’t setup a free shipping with just one condition.

I tried all. Trust Me (LOL).

Keep Walking

 
Magento Community Magento Community
Magento Community
Magento Community
 
Killoff
Magento Team
 
Avatar
Total Posts:  17
Joined:  2008-05-22
 

Hello.
I’ve just trying to reproduce all these steps.
So, free shipping works for me for UPS for example. See the details of Rule and free shipping in attached image.

I specifically pointed out the minimum order amount for order (USP Ground Method) greater than it was in my shopping cart.
But this condition was overwritten by shopping cart rule “free shipping”.

What free shipping are you expecting for ?
Free Shipping method or a submethod for someone from shipping methods as its in my case.

Image Attachments
feeShipping.jpg
 
Magento Community Magento Community
Magento Community
Magento Community
 
andreladocruz
Guru
 
Total Posts:  322
Joined:  2008-05-07
Brazil
 

Killoff,

I will try it latter and post a feed back.

One question, I have to do any change on the UPS Shipping Method to do This?

If yes? Where should I change it? As I’m using a Shipping Method for Brazil, maybe I will have to do other changes in this Shipping Method (XML File).

Regards,

 
Magento Community Magento Community
Magento Community
Magento Community
 
andreladocruz
Guru
 
Total Posts:  322
Joined:  2008-05-07
Brazil
 

Friends,

I just discovered that the shipping method that I have here in brazil, does not have the following configuration fields:

* Free Method
* Free shipping with minimum order amount
* Minimum order amount for free shipping

How do I set them all to my shipping method?

I think that this will resolve the problem.

Regards,

 
Magento Community Magento Community
Magento Community
Magento Community
 
andreladocruz
Guru
 
Total Posts:  322
Joined:  2008-05-07
Brazil
 

I added the following lines in my etc/system.xml:

<free_shipping_enable translate="label">
                            <
label>Free shipping with minimum order amount</label>
                            <
frontend_type>select</frontend_type>
                            <
source_model>adminhtml/system_config_source_enabledisable</source_model>
                            <
sort_order>8</sort_order>
                            <
show_in_default>1</show_in_default>
                            <
show_in_website>1</show_in_website>
                            <
show_in_store>1</show_in_store>
                        </
free_shipping_enable>
                        <
free_shipping_method translate="label">
               <
label>Método De Envio Gratuito</label>
               <
frontend_type>select</frontend_type>
               <
source_model>correio_shipping_model_metodosenvio</source_model>
               <
sort_order>9</sort_order>
               <
show_in_default>1</show_in_default>
               <
show_in_website>1</show_in_website>
               <
show_in_store>1</show_in_store>
             </
free_shipping_method>
                        <
free_shipping_subtotal translate="label">
                            <
label>Minimum order amount for free shipping</label>
                            <
frontend_type>text</frontend_type>
                            <
sort_order>10</sort_order>
                            <
show_in_default>1</show_in_default>
                            <
show_in_website>1</show_in_website>
                            <
show_in_store>1</show_in_store>
                        </
free_shipping_subtotal>

Where I must change now?

With just this, it’s not working.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Killoff
Magento Team
 
Avatar
Total Posts:  17
Joined:  2008-05-22
 

andreladocruz, what shipping method do you use?
Adding free method to configuration only can be insufficient for expected result.
You can see examples in Usa/Model/Shipping/Carrier/ *.php (here is UPS model)

[skipped]

        
if ($request->getFreeMethodWeight()!=$request->getPackageWeight()) {
            $r
->setFreeMethodWeight($request->getFreeMethodWeight());
        
}

[skipped]

    
protected function _setFreeMethodRequest($freeMethod)
    
{
        $r 
$this->_rawRequest;

        
$weight $this->getTotalNumOfBoxes($r->getFreeMethodWeight());
        
$r->setWeight($weight);
        
$r->setAction($this->getCode('action''single'));
        
$r->setProduct($freeMethod);
    
}
 
Magento Community Magento Community
Magento Community
Magento Community
 
nikkstocks
Member
 
Total Posts:  47
Joined:  2008-06-08
 

I had this problem in 1.0.19870.4 - figured out that coupons need the free shipping option in “Shipping Methods” enabled - you can set the minimum ludicrously high (mine is at £999,999,999), but it needs to be enabled before coupons will work. Not a perfect solution, but a quick fix non the less

hope this works for you all!

 
Magento Community Magento Community
Magento Community
Magento Community
 
andreladocruz
Guru
 
Total Posts:  322
Joined:  2008-05-07
Brazil
 

Sirs,

I picked the shipping method on Our Brazilian Forum.

Attached you will find the module it self.

If any one can help me with this…

regards

File Attachments
Correio.zip  (File Size: 10KB - Downloads: 78)
 
Magento Community Magento Community
Magento Community
Magento Community
 
andreladocruz
Guru
 
Total Posts:  322
Joined:  2008-05-07
Brazil
 

Just to ask…

Instead of congiruing each shipping method, won´t it will be easier if magneto put the free shipping caming by promotiona as a discount in the cart?

 
Magento Community Magento Community
Magento Community
Magento Community
 
Killoff
Magento Team
 
Avatar
Total Posts:  17
Joined:  2008-05-22
 

hi andreladocruz.

First of all your method shoul call

_updateFreeMethodQuote($request);

See

Mage_Shipping_Model_Carrier_Abstract::_updateFreeMethodQuote()
- it reads free method information

public function collectRates(Mage_Shipping_Model_Rate_Request $request)
    
{
       
.........

        
$this->_updateFreeMethodQuote($request);

        .........
    
}

Also it must set weight for free method

$request->setFreeMethodWeight();

And realize

_setFreeMethodRequest()
(this is optional I think)

So, try to raise your question between your module developers.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top
Page 1 of 2