I want to ask about how to calculate discount in laravel using Crinsane/LaravelShoppingcart, i try to search a lot to understand ho to add the discount but i failed, i hope someone help me soon.
Related
I am new to Prestashop 1.7
I need to calculate a total of orders that is viewed in back office in order list. Anyone can help me? It seems to me that the most difficult thing will be to make the display of orders in total that have the status as paid.
Example:
I have a little problem.
Case(WooCommerce): Two customers are buying same product at same time, but product quantity only 1. Both of them are available to add product in cart ant then checkout. Both of them are paying in PayPal, but only 1 of them may receive the product, other custom will get Canceled order, buy PayPal still keeps the money. And this is a problem.
Is there a way to avoid this? Maybe someone knows how to reserve product after someone press 'Add to cart', so other customer wont be able to do this in same time?
Thanks You for Ideas!
We have setup a magento store. We are not charging any Tax/VAT to our customer. But in some countries we have to pay Tax/VAT which should be calculated for the administrator reports only. So we know how much we have to pay as Tax/VAT for the order. We can set all the product as non taxable but that rule will also apply to the administrator reports which we do not want. So for example if actual price is 60 for a product we will only charge 60 to the customer and pay Tax/VAT from ourself in the countries we have to pay Tax/VAT?
Can anybody let me know if its possible and if yes, how?
Many Thanks
After hours of struggling I edited the following to make this happen
app\code\core\Mage\Tax\Model\Sales\Total\Quote\Tax.php and commented the
/* $this->_addAmount($totalTax);
$this->_addBaseAmount($baseTotalTax);
$this->_saveAppliedTaxes($address, $data['applied_rates'], $totalTax, $baseTotalTax, $rate);*/
This is around at line 570.
I've added a checkbox and a delivery date box in shipping method. Now I want to save this information. Moreover, I want the extra amount ($10 in this case) to be added in the total order amount. And display it in checkout process and in admin :s
Please help!
Well after trying to explain the whole thing in here i decided to just link to some resources
Step 1
checkout_controller_onepage_save_shipping_method
http://www.brimllc.com/2010/07/magento-adding-custom-shipping-comments-at-checkout/
Step 2 Show the extra fee in totals:
Magento - How do I add an invoice fee to an order during checkout process
Hope this helps,
Greetings
I have one query for USPS shipping method in Magento. If I don’t know and i don’t enter the weight of the product in magento, then how USPS will count the cost?
I want where if total amount to pay is over $50 then FREE Shipping will go else it will show fix $5 rate for USPS. I almost have same weight small products so I don't want cost to be calculated. I just want user to know that via USPS, their parcel will come and for that they need to pay more $5 charge.
Can anyone give me idea for what I want to achieve? Any tip will be great help.
Maria
you can create a extension for shipping query that include some shipping carrier of DHL UPS and more.
1.create a SOAP for get data from MySQL
2.declare & create for magento on checkout.
example:
www.chinabuye.com
I was customize shipping fee on this site