I looked everywhere.
I have Opencart 2.0.2.0. Some of my products are vegetable. So for them I want to insert 1kg price and give an input field for customers to enter the weight they are after. So 1kg is $29 and if the customer enters "271"g, the price should be "(29/1000)*271 = $7.85. Do you know the easiest way to implement this and pass this dynamic price?
Thanks heaps.
This OpenCart extension should be able to do it.
Related
I have a dataset of movies with the amount of views per day, I want to sum total views per movie and I am doing the following:
SUM(IF [Title] = [Title]
THEN [Views]
END)
But is not giving me the right numbers, can anyone please help me?
You don't need to make a calculated field every time you want to see values in Tableau - that's part of the beauty of it.
Assuming that the Views field is a numeric measure by default, and the Movie field is a text dimension by default, then just drag Movie to one shelf (such as Rows) and Views to another (such as Columns).
In backend admin panel following these steps: Catalog -> Products -> (I select the product I need) -> Edit -> Special. I insert the special price I want and it displays in Frond End in the product page. The Price which is in Data appears as CUT and the price I inserted in Special appears uncut. For example: [strike] 100.00[/strike] 90.00. My main question is: When I click Add to cart in the product page I want the the main price to go in the cart not the Special one. The client wants to see the special price but the price that goes into the cart to be the main price.
Many thanks
Special Price is actually the discounted price of a product. So, if a product is of 100 then we can sell it for 90 on some festival seasons. That's when you should use special price. Regarding your specific requirement, you should either flip the values entered in special and base price (But the special price will now have strikethrough) OR you need to alter the code.
In opencart, at success page, i need to check product's specific field value to take an action. Specifically field: stock_status_id.
WHen i use
$this->cart->getSubTotal()
and
$this->session->data['order_id']
i can get sku, name, category, price, quantity fields but when i try to get stock_status_id field using this code:
$product['stock_status_id']
i don't get anything. I opened system/library/cart.php file and added to data array stock_status_id with no success.
Any help is appreciated!
Found it! Its in system/library/cart.php look for:
$this->data[$key] = array
and add a line with the field you want to bring!
I am new to opencart. I am trying to set the price in admin part but It is not showing as I set in dashboard. It is showing something less than(5% less) the what I entered in admin.
I have set the price of two products in dashboard :
But when I see the product as follow on the front end :
I have set display price tax in opencart setting as follow
Check your currencies are correct in System - Localisation - Currencies
you currency should be set as default and with a value of 1.0000
As I stated in the title I'd like to have a custom text field next to the price. For example I'd like to sell a bag of X by the bag (/bag) but another product is sold by /kg or /sqmeter). Now I only have the price on the product page.
Link to my webpage:
http://www.gerocskeramia.hu/webshop/
Use either the Options if this is something that needs price adjustments, or you could also use Attributes to add simple attributes like container type etc.