Get custom price on cart Magento - php

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.

Related

How adding custom price to download price?

I need to adding custom price with custom meta to EDD download item price.If my item price is $50 and custom price is $5 so :
The final price should be $55 which added to cart.
In getting meta and displaying it i have no problem but how can adding it to default item price for making a final price that user will pay it ?

Prestashop 1.7 how to change product price color only for products with discount

i need some help for product prices in prestashop 1.7 with discount i need current price for product with discount with different color so i need to add some code for tpl file but what is the code? Thanks
There are 2 diferent tpl for each product. Product miniature, and product page.
You can find product miniature in themes/yourTheme/templates/catalog/_partials/miniatures/product.tpl
And product page price is in themes/yourTheme/templates/catalog/_partials/product-prices.tpl

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.

Magento, Prices wrong on Cart

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)

Can grouped products use backorders in Magento CE 1.7?

Can grouped products use the backorder functionality in magento?
I have created a grouped product in backend. But there is no any place there to enable backorders for the product. I have changed the Availability message in frontend for simple products and enabled the Add to cart button as well. How can I do the same thing for grouped products?
Any help will be appreciated.
You should ensure that the simple products associated with the group product are available for back-order. As long as the related simple products are saleable and the qty can go below 0 you should be able to take back-orders for grouped products as well.
So in each of your simple products go to inventory tab and set back-orders to "Allow Qty Below 0" and insure that stock availability is set to "In Stock"
If you are using another extension for displaying back-order messages I would refer to the extension documentation to see if they support grouped and configurable products.

Categories