This function displays the price in the front.
{$product.price_amount}">{$product.price}
How do I add a formula to this function that will allow me to output the result with a discount?
For example, the amount currently displayed is 1000 $
It is necessary that the amount is displayed with the deduction of a discount of 7% of this price.
And displayed 930 $
On a template level, it's not the best way to define the calculation logic for price.
Rather create catalog price rules from Prestashop Admin.
http://doc.prestashop.com/display/PS17/Catalog+Price+Rules
Related
I have two columns, Type of asset and Total Amount Sale. I want to divide them into categories, high value and low value. The type of asset are PC240, PC250, PC400, PC500, PC1000.
If I were to set the minimum sale to the following. Please can someone help me how would I do it. Do I need to create another table to input this Minimum Sale?
Note: this minimum sale I got it from Excel file.
Prestashop - 1.6
I'm trying to create a Combination where the "Impact on price" will be a Percentage value (instead of absolute value).
Problem is that I don't see how to set this value as a percentage. Take a look at my capture.
Combination price is relative to Product price. So, as you know the exactly price of your product, then you must know the exact differencial price for the specific combinations of this product.
What you want to do can't be done with Prestashop default options, but I consider that not neccesary this function so you can do the same with some simple calculations. Anyway, a percent value is the equivalent to a fix value ;)
Good luck.
Greetings.
I am working on a eCommerce website based on shopify. And for product I want to set a custom price. For example, The standard price of product is $500 but price will vary if user increased the quantity i.e. On 5 - 10 it will cost $450, On 11 - 15 it will cost $400 and on 20+ quantity it will cost $300.
I have searched module for this and also found a module i.e. https://apps.shopify.com/quantity-breaks. But its working on the basis of "Percent" that I don't need. Because I want to place price manually on the basis of quantity.
So please help me out from this and provide your valuable thoughts on the same.
Thanks in advance.
The way this is generally done in Shopify is to create variants where the option values are the price breaks. You have to modify your theme so that when a Qty > price break is entered the product page selects the variant that corresponds to that price level.
Other than the coding portion of this the main issue becomes inventory management since Shopify treats each variant as a separate inventory item but if you use variants to manage price breaks they are not actually separate items.
I think the easiest way to do this would be with a Shopify App. There are many that have price breaks etc. and they are usually easier to set up than using variants as the price break amounts.
I'm setting up a oscommerce store for my friends. He gets a product at 48.3 INR and sells at 60 INR . TAX for product is is 12.5%
For this he wants to have proper system to calculate profit
Now when I'm trying to enter product cost in OSC, it has only 2 fields.
Gross and Net.
If I enter 48.3 in Net it shows 54.3375 INR in gross (*TAX). while I need to show 60 INR for that product and calculate profit. Can any one help me about how to this in oscommerce!!
I need to show product cost on product page as 60 INR. and I should be able to input purchase cost somewhere in OSC. So that its possible to calculate profit.
I'm not entirely getting whether its possible in OSC or how to achieve it.
Please help.!
It's very possible. Either you will need to find a preexisting addon that does this or write your own addon. What you have described is simple to implement if you know php and mysql. If you don't then you should hire a programmer to do it for you.
Check out http://addons.oscommerce.com
I sell fabric by the 10cm increment. How do I change the purchase quantity on my bigcartel shop to be a text box to allow customer to type in the quantity they'd like to buy (for example 1.2 metres) instead of using bigcartel's dropdown purchase quantities?
At the moment, I end up having a long list of drop down options ie. 10cm, 20cm, 30cm, 40cm, 50cm, 60cm, 70cm, 80cm, 90cm, 1m. And then I have to rely on the customer adding the quantities they want together to get the total they need (ie. 20cm and 1m to get 1.2 metres). People sometimes make a mistake with their math and order the wrong amount. I would prefer to be able to just have a text box in the purchase quantity area where my customer could simply type in "1.2" and the quantity and price would be calculated for the cart.
Is this possible on bigcartel? I know it is possible on a lot of other e-commerce sites. Any help would be greatly appreciated!
Unfortunately there's not a way to add an input box to your product or cart pages to allow for customer input like that, sorry! Your customers can only select their option from a list that you create in the admin.