WorkFlow Doesn't Update CheckBox On opportunity Object - workflow

The request is this: If the discount entered on the single product is higher than 10%, the Discount checkbox on the Opportunity object is updated. I created a Percentage field on the product object(Discouynt__c) and a discount checkbox field on the opportunity object. I have created a WorkFlow that updates the Opportunity Discount CheckBox.
The work flow does not work. When I enter a value greater than 10 in the discount field of the product object, the checkbox on the opportunity does not update.![enter image description here]()
The request is this: If the discount entered on the single product is higher than 10%, the Discount checkbox on the Opportunity object is updated. I created a Percentage field on the product object(Discouynt__c) and a discount checkbox field on the opportunity object. I have created a WorkFlow that updates the Opportunity Discount CheckBox.
The work flow does not work. When I enter a value greater than 10 in the discount field of the product object, the checkbox on the opportunity does not update.

Related

how to change woocommerce quantity field value from gravity forms field?

I've tried changing the value of the woocommerce quantity field from another field using gravityforms plugin with number field and calculations form, but didn't work. How to do it? Please help
In the Woocommerce product, if you have the WooCommerce Gravity Forms Product Add-Ons plugin activated, you can select the form you want to use, then in the Form Display at the bottom, you'll see advanced options. For Replace Modified Items? select Yes, for Quantity and Stock, select Yes, and then choose the field you want to populate the cart's quantity.
The advanced options will look for a number or quantity field to replace the woocommerce product quantity.

Unable to sort configurable products based on attribute value and price

Am new to Magento. Am unable to sort the products in my shopping cart based on price and attribute name -- qty. My attribute values are 750 ml, 500ml, 200ml and they have their respective price. Sorting using only price is working but i dnt know how to sort using the attribute value. The below code displays the minimum price value. But i want to display the minimum price value of the minimum attribute value
echo $this->getPriceHtml($_product,true);
The easiest way is to edit you attribute (in Attribute management) to be shown in product listing and Used for Sorting in product listing
In this way you are sure that the attribute is selected in the collection and it's available from the catalog/product template pages.

Descrese quantity when order is placed

I want to decrement quantity 10 of particular product each time place an order by customer in magento. its don't matter what quantity added in product detail page by customer.
Please help
Maybe using observer like sales_quote_add_item, will allow you to set custom quantity once the product is added to the cart.

Apply Discount to Products in Magento Cart page

I wanted to know how can I give discount value/percentage on cart page for specific product's quantity dynamically via OBSERVER.
Discount can be given on same product's with different quantities.
EX:
Customer add 4 QTY from Product A and I should be able to give 10% discount on 2 QTYs and the discount value should be shown after subtotal (as normal cart rule applied in Magento)
If I can create dynamic cart rule and apply that to products which I wanted that also useful in this case.
http://excellencemagentoblog.com/magento-add-fee-discount-order-total
this is good link to give discount for order , we can modified for particular product & product qty. calculate discount for different product and its qty. add it and setFeeAmount.

Paypal IPN using PHP to get customized Quantity and Amount

I have downloaded the sample paypal IPN script using php and customised with the email for the buyout option and it has also some hidden paramaters such as amount, quantity,return_url, notify_url like this. My main idea is to do the buyout option for the product purchase in my website.The current calculation for the product purchase is as follows:
Item Price:$20
Quantity :10
Total amount $200
I need the calculation to some different way as our site have some static set of quantities and prices, so our point of calculation is as follows:
Item Price:$20
Quantity :10
Total amount:$20
So, the total amount needs to be the same for the given number of quantities.The IPN configuration doesn't allow me to change the quantity field by this way, please suggest some ideas to overcome this issue.
The item price is price per item, the quantity is of course multiplied by the item price. Your second example should have $2 as the --Item-- price. If you want to sell "10 items for $20", I think you will need to make a new item for that combo and just but the actual quantity in a custom field.
If you want to use the same item and paypal's quantity field, I think you need to look into calculating a discount and making that part of the parameters (discount_amount_cart or discount_amount_X for item X I think).