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

add to cart popup - more than 3 related products

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 11-16-2016, 02:26 AM
 
Bishmos Bishmos is offline
 

Advanced Member
  
Join Date: Jun 2011
Posts: 31
 

Default add to cart popup - more than 3 related products

Hi

does anyone know how I can make the add to cart popup (xcart one 4.7.5) show more than 3 related products? I would like to be able to have more showing and make it scrollable (the scrollable bit I can do).

thanks
Martin
__________________
X-Cart Gold v4.7.5
Reply With Quote
  #2  
Old 11-16-2016, 06:27 AM
  BCSE's Avatar 
BCSE BCSE is offline
 

X-Guru
  
Join Date: Apr 2003
Location: Ohio - bcsengineering.com
Posts: 3,064
 

Default Re: add to cart popup - more than 3 related products

Hi Martin,

Open up your modules/Add_to_cart_popup/func.php and look for this line:
$limit2 = 3; // Final limit for func_search_products

And change the 3 to something else.

I hope that helps.

Thanks,

Carrie
__________________
Custom Development, Custom Coding and Pre-built modules for X-cart since 2002!

We support X-cart versions 3.x through 5.x!

Home of the famous Authorize.net DPM & CIM Modules, Reward Points Module, Point of Sale module, Speed Booster modules and more!


Over 200 X-cart Mods available & Thousands of Customizations Since 2002 - bcsengineering.com

Please E-Mail us for questions/support!
Reply With Quote

The following user thanks BCSE for this useful post:
Bishmos (11-16-2016)
  #3  
Old 11-16-2016, 06:37 AM
 
Bishmos Bishmos is offline
 

Advanced Member
  
Join Date: Jun 2011
Posts: 31
 

Default Re: add to cart popup - more than 3 related products

amazing...thanks very much!
__________________
X-Cart Gold v4.7.5
Reply With Quote

The following user thanks Bishmos for this useful post:
BCSE (11-16-2016)
  #4  
Old 11-16-2016, 08:40 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,191
 

Default Re: add to cart popup - more than 3 related products

However you should really avoid using this. In a lot of cases it's annoying to customers. If you really want to upsell it is way better to use the multi-page checkout and incorporate upselling items on one of the pages.
Not to mention it is really annoying on mobile.
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not 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 10:40 AM.

   

 
X-Cart forums © 2001-2020