| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
#41
|
|||||||||
|
|||||||||
![]() Works on 4.5.x as well. 4.5.x uses same default top-right corner messages which are easy to miss
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#42
|
|||||||||
|
|||||||||
![]() Hi Steve,
Do you know if/how this might work with the Buy Together module from AlteredCart?
__________________
- www.nerdseven.com - Gadgets & Gizmos from Out of This World - Sound Sensitive T-Shirts That Flash to the Beat of Music (http://www.tqualizer.com) X-Cart Version 4.1.10 |
|||||||||
#43
|
|||||||||
|
|||||||||
![]() I never tried it but in XC code is just changes in templates so if you do similar should work probably
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#44
|
|||||||
|
|||||||
![]() We added this mod to our v4.4.5 and it is fantastic. Highly recommended!
I have a some requests for future mod enhancement: 1. In the "May we suggest the following items" popup it would be great if only items that are in stock are suggested. To increase customer satisfaction an out of stock item should be not shown in the popup. 2. Add a fourth item to the suggestion list that says "Show More Suggestions". If the customer clicks it then bring them directly to the related items section of the catalog page (or present a new pop-up with all the related products).
__________________
Thomas / USA XCart V4.4.5 Gold XCart Mobile V1.4.12 XCart X-PDF XCart X-HotProducts AlteredCart Checkout One (One Page Checkout) BCSE Back In Stock CFL Holiday Message CFL System Message Smack Digital (WebsiteCM) Remember Anon Carts xcartmods Testimonials xcartmods reCAPTCHA for X-Cart Classic Unix, PHP 7.0 (patched 5.4). MySQL 5.6 |
|||||||
#45
|
|||||||||
|
|||||||||
![]() Thanks Thomas
#1 - this uses recommends.php which already limits products to in stock only; make sure you have inventory in XC settings on #2 - it can easily be extended by adding an <a> tag in popup_add_to_cart.tpl to link to the product details page
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#46
|
|||||||
|
|||||||
![]() Thank you for the reply.
Quote:
FWIW, we have "Show products which are out of stock" enabled. Disabling this causes customer confusion. The "Disable inventory tracking" setting is NOT checked. Currently XC is showing out of stock items in the Related Products area. This is not a problem and we prefer it this way. However, we don't want any out of stock items to appear in the pop up window. XC is also showing out of stock items in the "Customers Also Bought" (recommend) page. This seems to be directly related to the issue. If it's just a improper XC setting that needs a tweak then that is awesome. I just need a bit more guidance.
__________________
Thomas / USA XCart V4.4.5 Gold XCart Mobile V1.4.12 XCart X-PDF XCart X-HotProducts AlteredCart Checkout One (One Page Checkout) BCSE Back In Stock CFL Holiday Message CFL System Message Smack Digital (WebsiteCM) Remember Anon Carts xcartmods Testimonials xcartmods reCAPTCHA for X-Cart Classic Unix, PHP 7.0 (patched 5.4). MySQL 5.6 |
|||||||
#47
|
|||||||||
|
|||||||||
![]() Yes these 2 settings. They are global and you have them set to show out of stock products. Since the mod doesn't modify any XC files and uses recommends.php directly you get what the file returns. This XC file can be modified of course
You can change Code:
to Code:
then in recommends.php this Code:
change to Code:
Not tested though
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#48
|
|||||||
|
|||||||
![]() Thanks for the code. I installed it and I still see the out of stock items in the pop-up.
Just to confirm, I updated the first part to these 5 files: 1. /home.php 2. /products.php 3. /search.php 4. /manufacturers.php 5. /products_map.php and then updated the second part to /recommends.php All files were in the xcart root directory. Did I miss anything?
__________________
Thomas / USA XCart V4.4.5 Gold XCart Mobile V1.4.12 XCart X-PDF XCart X-HotProducts AlteredCart Checkout One (One Page Checkout) BCSE Back In Stock CFL Holiday Message CFL System Message Smack Digital (WebsiteCM) Remember Anon Carts xcartmods Testimonials xcartmods reCAPTCHA for X-Cart Classic Unix, PHP 7.0 (patched 5.4). MySQL 5.6 |
|||||||
#49
|
|||||||||
|
|||||||||
![]() Yes, it should work. You can add in recommends.php just before
$_membershipid = intval($user_account['membershipid']); this echo $avail_where; and see if it outputs anything on the screen. This is just for testing so delete it after you test.
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#50
|
|||||||
|
|||||||
![]() Adding the echo $avail_where shows some extra text on the home page at the top of the page. But I don't see it on the item's catalog page. Does that help point to the problem?
I'm feeling guilty about being off topic. If you would like me to take my issue off-line (can use email instead) then just let me know.
__________________
Thomas / USA XCart V4.4.5 Gold XCart Mobile V1.4.12 XCart X-PDF XCart X-HotProducts AlteredCart Checkout One (One Page Checkout) BCSE Back In Stock CFL Holiday Message CFL System Message Smack Digital (WebsiteCM) Remember Anon Carts xcartmods Testimonials xcartmods reCAPTCHA for X-Cart Classic Unix, PHP 7.0 (patched 5.4). MySQL 5.6 |
|||||||
|
|||
X-Cart forums © 2001-2020
|