开发者

Magento Ecommerce [closed]

开发者 https://www.devze.com 2022-12-18 06:50 出处:网络
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. 开发者_运维百科

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 8 years ago.

Improve this question

Does any one know of an extension or how to display the price of product's only if the customer is logged in ?

But if the customer is not logged in the price is blank ?

Thanks in advance


Do you want to build a site which basically turns into a shop once a user signs up? Then I have to assume you also might want to hide the other ecommerce components such as 'add to cart' buttons, checkout button, etc.

You could hide the shop components in various places in your site design template /app/design/frontend/default/xyz/template (where 'xyz' is 'default' or your organization's design folder). Even though it's technically straight forward there are a lot of files to check this way.

What you'd have to do is find the HTML that you don't want your guests to see and enclose it like so:

<?php if (Mage::getSingleton('customer/session')->isLoggedIn()): ?>
  lines of html you'd like to disable for guests
<?php endif ?>


You could create a customer group for the logged in customer(s) and then assign pricing rules based on groups. That would allow you to show a different price for logged in customers vs general site visits.


You can put some options like Customer Shop Status - View Shop and Prices Customer must be approved to shop

It is recommended that Option 2 be used for the purposes of Spiders if you wish customers to login to see prices.


Belvg has a "Private Sales" module that we use to accomplish that task. http://store.belvg.com/private-sales.html

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号