Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Hide Prices Mod
 
Reply
   X-Cart forums > X-Cart 5 > Modifying the design and features (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 09-20-2019, 06:10 AM
 
Dawn Howard Dawn Howard is offline
 

Senior Member
  
Join Date: Apr 2006
Posts: 179
 

Default Hide Prices Mod

I was attempting to edit the message for the Hide the prices module and I messed it up. I didn't copy the original code to I can change it back (doh) Here is the messed up code:


<div class="{{ this.getFingerprint() }}">
<div class="{{ this.getCSSClass() }}">{{ t('Apply for Membership', {'loginUrl': url('login'), 'registerUrl': url('profile', '', {'mode': 'register'})})|raw }}</div>
</div>


I want the visitor to be able to click "apply for membership" and be taken to the My Account/Profile Details.

http://test.duffystric.com/?shopKey=eb76ccc0caf326f6f5254438c160d924

Thanks in advance.
__________________
Dawn
X-Cart Business 5.3.6.3 - Testing Phase
Mods:
Order Forms - Custom Mod
Freight on Board - Custom Mod
Catalog Order Form
Call For Price

X-Cart 4.4.3 Gold - Live Store


Running on Windows
Reply With Quote
  #2  
Old 09-23-2019, 05:24 AM
 
Dawn Howard Dawn Howard is offline
 

Senior Member
  
Join Date: Apr 2006
Posts: 179
 

Default Re: Hide Prices Mod

Here is the original code.

<div class="{{ this.getFingerprint() }}">
<div class="{{ this.getCSSClass() }}">{{ t('Please sign in or register to buy this product.', {'loginUrl': url('login'), 'registerUrl': url('profile', '', {'mode': 'register'})})|raw }}</div>
</div>

Now when I try to edit it, and click save, nothing changes.
__________________
Dawn
X-Cart Business 5.3.6.3 - Testing Phase
Mods:
Order Forms - Custom Mod
Freight on Board - Custom Mod
Catalog Order Form
Call For Price

X-Cart 4.4.3 Gold - Live Store


Running on Windows
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > Modifying the design and features (X-Cart 5)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 11:18 AM.

   

 
X-Cart forums © 2001-2018