how to give different access authority to different users credential in magento - magento

I have client requirement that he want to me to make different prices list of products for different users, for example there will be two types of users one normal users and other one are doctors , so he want that if normal users come to this website then the price list should be different as for doctors, like for doctor a particular product rate can be 50 Rs but the same product for normal user is 70 Rs .
so i want to know can this be possible in magento and if "yes".
How to do it??????.

You could try to accomplish this using either
Customer Group
Multi Website
Third Party extension
Take a look #
Different prices for different groups? (wholesale prices, etc.)
Magento: How to Setup Simple Customer Specific Discount Pricing

Related

Magento 2: How can create different Tax rate for multiple store for same country

Is it possible to create multiple stores for the same country (to all states) and each store has assigned for different tax rules?
Example for the country US I want to create three different stores.
1) US-store-1
2) US-store-2
3) US-store-3
And each store has a different tax rule.
Why do you want to create different stores for US ? it can add lot more complexity to your Magento instance.
Magento allow Tax rules based on postal code, you just need to configure table rates properly to make it work.
You can find some useful information regarding table rates here:
https://docs.magento.com/m2/ce/user_guide/shipping/shipping-table-rate.html

How to handle price dynamic

We have requirement to handle price dynamic (referring external system).
We would like to know, what is the best way to handle dynamic pricing among below :
Approach 1 :
Creating Price factory extension and overriding getBasePrice() method of customPricefactoryManager. Please confirm if it uses jalo layer.
Approach 2 :
In DefaultSLFindPriceStrategy we can customize getBasePrice() method.
If any other way too, please lets know.
We would like to know which approach can help to handle prices in addtocart operation, checkout and product page details pricing.
It is not good getting price in another system with integration online. ERP system used by few sales people but ecommerce site can be used by hundred customer in same time. ERP cannot be handle huge amount of connections. I prefer pushing price from ERP not pulling them from hybris side. On the other hand customer will be hate changing price while surfing between hybris pages. You need to plan correct time for updating price and re-calculating existing carts.
It is highly unlikely that you would need to override the above classes to get dynamic prices.
Hybris already provides OTB functionality to get prices for different-
Users
User groups
Currencies
Time range
If you are trying to get different prices based on above criterions then you can simply use the OTB price row model.Getting dynamic prices on different pages has many caveats-
The price on different pages i.e. Homepage, PDP, Cart, Checkout,
etc. might show different values confusing the customer.
It cannot
be indexed so the PLP page will almost always show a different price
value.

Magento 2.2 and multiple currencies with fixed prices

Site requirement is that all products are available to purchase in either GBP, USD or EUR. However, pricing is fixed for each product - client does not want pricing based on current exchange rates. If they did it'd be easy!
We have customers assigned to groups (price bands) and for each product we set the price for each price band. GBP has 5 price bands, USD has 2 and EUR has 1.
This is where it gets tricky. With the main site base currency set to GBP, in order to set USD & EUR in advanced pricing (i.e. fixed by customer group), we have to create a US and EU website. It's the only way to select a different currency in Advanced Pricing. Fine, but we don't want different domain/URLs for the three sites. That would in effect duplicate the same site three times with the only difference being the currency symbol. That would play havoc with search engine ranking. So I've set all three sites with the same domain but it doesn't work.
The only way to select the website when creating a customer is to have Account Sharing Options set to "per website"; otherwise the option to select website is disabled. I create a customer in admin, assigned to say the US site. Customer get's a mail to set password. Follow the link and try to set the password and it comes up with an error "Something went wrong while saving the new password." I'm guessing this is because it's trying to set the account password on the main site when the customer is associated with the US site. I've tried this multiple times and it's always the same error.
Anyone have any idea how to configure Magento 2.2 to support multiple currencies where pricing is fixed in Advanced Pricing by Customer Group and without having three duplicate public sites?

How do I split orders between Magento Multi Stores?

We have a magneto store and we sell decorations that are season based. So we need to have Magento possibly split into multi stores each housing the different seasons. But I need it to ONLY allow orders from 1 season to go through the system at a time not to have the customer able to mix their products up and then complete that order.
Does anyone know if it is possible to have settings changed to lock products/carts to a single store with in a multi store site?
Thanks,
Simon.

How to weave retail outlets info into Magento site

We are trying to do something interesting but challenging:
We have a couple thousand products listed on our B2C site (non-Magento), & are considering moving the site to Magento for a variety of reasons. The product pages provide detailed information about these products. Our user base would now like us to provide local information about retail stores where they can buy these products; the information required would be Retail outlet name, address, zip, phone, & a Google-map display (this last is optional).
In the front-end, each product detail page will display relevant retailers depending on the product AS WELL AS depending on the user's zip. Each user will see upto 5 nearby retailers.
My question is: how best can we set up this in Magento so that we can:
map products to retail_outlets, the way magento allows for mapping of products to categories. Products & outlets will have a many-to-many relationship, & we are looking for something that will be easy to maintain.
Map user's zips to the retailer info.
We are open to using magento 1.7, if that is a better fit.
Thanks in advance.
-TM
This is not the right place for this question as it is not related to programming and does not have code samples and is too general :( read the FAQ please
but in general you need:
add a product attribute (multiselect) with all your retail_outlets and add a possible retailers to a product
ask user to input a zip if he has not jet . you can get this from quote->getShippingAddress()->getPostcode(); if your user is
registered or something
on detail page query out your retailers by zip. This will need you to implement Geo/Spatial Search with MySQL.

Resources