im creating a magento store for a B2B store.
The issue im facing is that i need to have a different price for a different customer group.
i have checked the built in group price feature in Magento but this is not what i need since it just shows a price for the specific groupo only when it is LOWER than the actual price and it shows it as a SPECIAL PRICE in the front end
What i need is to have a different price for each customer group without showing it as a SPECIAL PRICE is that possible ?
if yes how could i do that ? do i change some PHP code ?
Magento will always display the minimal price between actual price, special price, group price and the catalog price rule.
Related
It is evident that Magento always displays the lowest price of the original price, special price, etc.
I have a condition where I have to display the customer specific price that comes from an ERP system. Let's call it special price. If that special price is higher than the product's price, Magento obviously chooses the least one.
The question, is there any way to override this in a smooth way? Because regardless of the products' price, the requirement is to display the customer specific price from the ERP system on Magento.If there is no customer specific price available, it is OK to fallback to the products' price.
Override
Mage_Catalog_Model_Product_Type_Price
Check Customer specific price against Products price and Do the logic
Is it possible to add second price to each product and use that price if user in specific usergroup?
I was thinking doing that by adding another column to the product price table and then take advantage of the promotion function to somehow use that price instead of the usual discount you can set from admin.
Any pointers or ideas would be great, thank you.
Yes, it is possible to define price for product that is valid/shown only for users in specific usergroup.
To achieve this you need to use Quantity discounts tab on Editing product page.
Name of this tab implies as there must be some large amount of items bought (like volume discounts...), but quantity can also be just 1 item.
For this you first need to define usergroup (Customers->User groups).
Example is shown also on CS-Cart Knowledge base: Wholesale Prices
Best regards,
Bostjan
It is default CS-Cart feature. Please check the following article in the database:
http://kb.cs-cart.com/wholesale-prices
In my website all product prizes are showing zero. I didn't set any special prize or grouped prize in product settings. This is my image which shows like this in 90% of products.Currently I'm using Magento 1.9 version.
Have you checked Cart Price Rules and Catalog Price Rules? Also, check SALES >> GST rules.
Since, your price has a strikethrough behaviour in the checkout page, it should be promotions rules. Have a good look under the both rules.
Have you created any catalog price rule?
If the price rule is working correctly is show discounted price.
but it is displaying zero means unhandled catalog price rules gives such results.
The new theme I've downloaded on our magento store displays only prices without any text descriptions before them. I need to display both the MSRP and the price a certain customer group (wholesale) gets. I've searched and only found answers for how to add text before the MSRP price.
I basically need product pricing to display as such, MSRP: $XX.XX, Wholesale: $XX.XX.
You can add your code in:
app/design/frontend/[your_package]/[your_theme]/template/catalog/product/price.phtml
I have an OpenCart installation that is running two stores, one wholesale and one retail. The product catalog is shared, but the problem is that OpenCart doesn't natively support multiple pricing options. So I added a new field to the oc_product table, retail_price. The idea is that I would use the price field for wholesale pricing and the retail_price field for -- you guessed it -- retail pricing.
I have everything pretty much covered on the admin side, so my new field is showing in the product section and is being updated in the database.
Now the issue is getting the price to change on the front end for the retail store. Needless to say, product price is used in a ton of different scripts. So I figured the best/sneakiest method would be to change the price field when the database is queried and the price data is initially set. This is kind of where I got lost... I changed it in some places I thought were right but the price doesn't change on the front end. Sometimes OpenCart can be a mysterious fig.
Can anyone give me a clue as to where the best place(s) to change the price would be?
I assume that you've already created a different customer type for both wholesale and retail customers in the admin area.
That being the case, it's very simple to add this functionality to the model.
Open:
catalog/model/catalog/products.php
On or around line 22 you should see a line that looks like this:
$query->row['price'] = ($query->row['discount'] ?
$query->row['discount'] : $query->row['price']);
Determine the numerical value of your retail customer, let's assume it's 1 and wholesale customers is 2.
The variable $customer_group_id used below is previously set at the open of the getProduct() method.
Replace the previous line with the following:
if ($customer_group_id == 2):
$query->row['price'] = ($query->row['discount'] ?
$query->row['discount'] : $query->row['price']);
else:
$query->row['price'] = ($query->row['discount'] ?
$query->row['discount'] : $query->row['retail_price']);
endif;
Now if your customer is logged in and is not a wholesale customer, or is not logged in, they will see the retail price, if they are logged in as a wholesale customer they will see the wholesale price.