I need to show a button saying “Add to cart” or “Login to check price” on product image in place of the price-button when option “Show price when logged in” is set to “yes”.
Currently it hides the price button and call-to-action button too! This confuses the visitors and will hit conversion-rate.
|
|
You will need to register in order to post topics and read replies in the ThemeBurn.com support forums!
|
|
Hi,
Thanks a lot for the tip.
I used everywhere
<?php if ($product['price']): ?>
PRICE BLOCK
<?php else: ?>
<?php if (!$this->customer->isLogged()): ?>
<a style="color:red;" href="index.php?route=account/login">Login for price</a>
<?php endif; ?>
<?php endif; ?>
Works like a charm. It’s compatible with option in System >> Settings >> Store >> Option >> Account >> Login Display Prices
Cheers
|
|
Glad we’ve helped, mate
Best,
ThemeBurn team
|
|