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

Remove 'Quick view' from Crisp White Template
 
Reply
   X-Cart forums > X-Cart 5 > Modifying the design and features (X-Cart 5)
 
Thread Tools Search this Thread
  #11  
Old 03-02-2019, 08:49 PM
 
sales@webosusa.com sales@webosusa.com is offline
 

Senior Member
  
Join Date: Nov 2007
Location: Australia
Posts: 118
 

Default Re: Remove 'Quick view' from Crisp White Template

To be honest that is all I have placed in my custom JS and it did work. The element was blank and no "Quick view" was showing. not sure why did not work for you. Perhaps I should re-test it. Thanks for the input.
__________________
Pedro
digitalnotions.i2u.shop
shop.modestclassy.com.au4.1.9 X-Cart
X-Cart
Business 5.3.6.0
Multi-vendor 5.3.6.0


Reply With Quote
  #12  
Old 03-03-2019, 06:45 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 13,415
 

Default Re: Remove 'Quick view' from Crisp White Template

Don't use css display property to remove elements. This has been suggested numerous times but it is really bad practice. The element still exists in the source code and it is still rendered.


Same applies to js.


If you want to completely get rid of it modify the code to not render this element at all. This is the only proper way of doing it. I think every XC5 store should have one "custom modifications" module even if it is empty and does nothing. Then you can just apply this little changes here and there without creating new module for each one.



jQuery .hrml may not work on display:none elements so probably that's the reason it is not working for you. Either remove the css rule or call the elements with :hidden in the js line to find it.
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote

The following user thanks cflsystems for this useful post:
Triple A Racing (03-03-2019)
  #13  
Old 03-03-2019, 07:15 AM
 
Triple A Racing Triple A Racing is offline
 

X-Adept
  
Join Date: Jul 2008
Location: Manchester UK
Posts: 707
 

Default Re: Remove 'Quick view' from Crisp White Template

Quote:
Originally Posted by cflsystems
... I think every XC5 store should have one "custom modifications" module even if it is empty and does nothing. Then you can just apply this little changes here and there without creating new module for each one...
Agreed and we have! It's not empty and this is one of those small items that's in it Our original post on this was a suggested interim workaround, posted over two years ago to be fair. We didn't ever consider the js option back then, which is why we tried it out of interest after reading the very recent post (and having switched off the module first) However, thanks for the pointer; :hidden in the js line because that's very useful, despite us not actually needing it for real, in this particular case.
__________________
Business XC 5.3.6.1 Live & XC 5.4.0.3 Dev Store
Ubuntu 18.04.2 (HWE) / Plesk 17.8.11
Nginx 1.14.2 / Apache 2.4.29 (Backported)
MariaDB 10.2.25 / PHP 7.2.19 Live / PHP 7.3.6 Dev Store
Reply With Quote
  #14  
Old 03-04-2019, 04:29 AM
 
kevinrm kevinrm is offline
 

X-Adept
  
Join Date: Aug 2003
Posts: 933
 

Default Re: Remove 'Quick view' from Crisp White Template

CFLSystems made a module for me, "Products List Links" which "Remove Quick View button and add Product Details button/link to products on list and search results pages." I can't remember if he sells that or if it was just custom made for my site but it works well.
__________________
X-Cart 5.3.6 Live
PHP7.2.9
FPM/FastCGI - enabled
Zend OpCache OFF - Won't work with phar extension in cPanel on PHP7.1+
10.1.36-MariaDB
Apache 2.4.34
CENTOS 6.8 64Bit Single Quad-Core E3-1241v3 3.4Ghz 8M 1600 w/ HT
32GB RAM 2x 512GB Samsung 850 Pro SSD RAID 1
Reply With Quote
  #15  
Old 03-04-2019, 07:27 AM
 
xim xim is offline
 

X-Cart team
  
Join Date: Nov 2004
Posts: 668
 

Default Re: Remove 'Quick view' from Crisp White Template

We removed the QuickView feature in 54 version of X-Cart.
__________________
Sincerely yours, Max Vydrin
Reply With Quote

The following user thanks xim for this useful post:
Triple A Racing (03-05-2019)
  #16  
Old 03-04-2019, 05:23 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 13,415
 

Default Re: Remove 'Quick view' from Crisp White Template

Quote:
Originally Posted by kevinrm
CFLSystems made a module for me, "Products List Links" which "Remove Quick View button and add Product Details button/link to products on list and search results pages." I can't remember if he sells that or if it was just custom made for my site but it works well.

Custom made for you Kevin. Feel free to share if you want to.
__________________
Steve Stoyanov
CFLSystems.com
Web Development
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 12:07 PM.

   

 
X-Cart forums © 2001-2018