View Single Post
  #8  
Old 02-02-2015, 04:45 AM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: Hide the price on the storefront

Ok, so here is the Flexy code that checks if a user is logged in:

Code:
<ul class="account-links" IF="isLogged()"> Logged in code goes here. </ul>

I would probably overwrite: default/en/common/price_plain.tpl I haven't tested this but you could try wrapping it in a div like this:
Code:
<div IF="isLogged()"> <div class="product-price {getFingerprint()}"> <list name="product.plain_price.head" /> <ul class="product-price"> <list name="product.plain_price" /> </ul> <list name="product.plain_price.tail" /> </div> </div>
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote