Magento, Prices wrong on Cart - php

I'm new to Magento and now I'm working on Magento Website, When adding a Simple product after adding a Confiurable product , the simple product displays the price of the Configurable product that added earlier ..

The price you set the child product to is actually how much extra the price will be when that option is selected. I usually set the price of the configurable, parent product to that which I'd like the options to be then have the simple, child product set to 0.00 (unless the option increases or decreases the value)

Related

Add specific price to Product Prestashop

I need to create a module in prestashop 1.7.3 to make available wholesale prices. The main idea: There are 3 types of prices in cart: retail price, small_wholesale price and BIG_wholesale price. I need to add small_wholesale price and big_wholesale price fields to my product and allow admin to add product and set them in prices tab(below retail price). Actually it's easy to create extra database fields in product table what i did, but still don't know what to override to create fields in product creation page, it should look like this.

Get custom price on cart Magento

i have created a new attribute products (price2) with different price respect standard price of magento.
I have modified view.phtml and catalog view to show price2 if standard price is higher, but i have a problem if add to cart product with price2; the product's price not respect price2 but standard price of magento.
How can resolve this problem? I have think use observer, but i can't communicate price2.

Magento Product "Custom Options" Percentage

My Magento store is running 1.9.1.0. All of the products within my store have a default price of $0.00 because the price is determined from "custom options" that are selected within a product's page.
Although, one of my "custom options" for a product is based from 15% of the entire product's price. For some reason, it does not work. I am assuming that it does not work because the default product's price is $0.00 and it does not take the price after all of the custom options have been selected into consideration.
I would like some guidance on how I can make it so that the "custom option" for 15% takes into account the full amount after all custom options have been selected.
Thank you for your help in advance.
here is two way to do this work
Way : 1
If your Product Price is $0.00 and you want to change the Price 15% as per the option
then you can try the Group Product in Magento
here you have the base Product Price is depend on the Selected Products Price
Way : 2
You can create a attribute based on the Price like : tmp_price and put the product Price here and calculate the 15% of the Price of the option using the customization
let me know if can help more in this task

Category Quantity Discount for Opencart

If I have many products on one category and I want to give discounts for specific quantity like: 2 for 10% off, 3 for 15% off and 4 for 20% off in any product they purchased on that same category.
I've tried to find extensions in opencart but I didn't found one. Does anyone knows any extension for this in opencart?
Thank you.
This features is already exits int the open cart system.
Go to that product form in the admin panel,
Home -> Product-> In product form there is a Discount tab,you can set price for every product according to the quantity.

Magento, retrieve configurable product price, discount price for simple product

I'm creating a product feed for several client using my extension. For this specific client, they have different price setup compared to others. They have configurable products and under that simple products connected to configurable one. Their prices usually match but when they put a product under discount, they only set discounted price to configurable product. In their site, discount price getting read from configurable one. But in my extension, I'm reading products one by one and when I get the price of the simple product, it returns me non-discounted one. I'm using the following code:
$price = $product->getPrice();
$discount_price = $product->getFinalPrice();
Is there an easy way or anyway to retrieve configurable product's discounted price while processing simple product?
Edit: I'm also posting orders after I get the product by its SKU. I'm having the same price issue in there as well.

Categories