1

i have few store-view, i want for my second Exclusive store-view add access with password, and then add different price by products

Let me know how i can do better?

Thanks

0

You can see here how to restrict access to not logged in customers for the whole website.

You need to modify that so it will be called only for your desired website. Wrap everything in

if(Mage::app()->getWebsite()->getId() == 'your website id here')

And for product prices, change the price attribute scope to 'website' from System->Configuration->Catalog->Price and then you can just edit the product on a particular store view (from your Exclusivewebsite`) and set a different price.

This won't work with different store views under the same website. You need to have a different website.

  • Thanks, which file should I modify? can tell me? – John Genry Jun 16 '14 at 10:36
  • The redirectNotLogged you should create. It is explained in the accepted answer. – Marius Jun 16 '14 at 10:37
  • wich folder? can tell? because i can not found which i can created file – John Genry Jun 16 '14 at 10:46
  • @JohnGenry. Read this. It should teach you how to create an observer in Magento. – Marius Jun 16 '14 at 10:53
  • Marius, without observer possible? – John Genry Jun 16 '14 at 12:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.