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

Owebia Only show fees that apply to product
 
liteinteractive
Jr. Member
 
Total Posts:  8
Joined:  2014-02-12
 

Hi,

I need some help, Its a great plugin, But i would like to

Show fees that apply to the product.

Below is my sample

{
   
"Cash_Voucher"{
      
"label""Delivery Charge",
      
"conditions""{sum item.price+tax+discount where (product.category.id==32)} < 200",
      
"fees""10"
   
}
}
,
{
   
"Cash_Voucher2"{
      
"label""Delivery Charge",
      
"conditions""{sum item.price+tax+discount where (product.category.id==32)} >= 200",
      
"fees"00
   }
}

Do help Thanks

 
Magento Community Magento Community
Magento Community
Magento Community
 
owebia
Mentor
 
Avatar
Total Posts:  1227
Joined:  2008-07-11
France, Morteau
 

Your configuration is not valid JSON.

Try this :

{
   
"Cash_Voucher"{
      
"label""Delivery Charge",
      
"conditions""{sum item.price+tax+discount where (product.category.id==32)} < 200",
      
"fees""10"
   
},
   
"Cash_Voucher2"{
      
"label""Delivery Charge",
      
"conditions""{sum item.price+tax+discount where (product.category.id==32)} >= 200",
      
"fees"0
   }
}
 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top