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

X-Cart reBOOT (reDUX) Template

 
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4
 
Thread Tools
  #411  
Old 01-21-2022, 11:02 AM
 
Dougrun Dougrun is offline
 

X-Adept
  
Join Date: Apr 2012
Posts: 833
 

Default Re: X-Cart reBOOT (reDUX) Template

seems to be this:
Code:
{if $config.Product_Notifications.prod_notif_enabled_B eq 'Y' && $product.avail eq 0} {assign var="show_notif_B" value="Y"} {/if}
if I drop the " && $product.avail eq 0", it shows, or if i change it to "$variantid.avail eq 0" it shows. but then it shows even if a variant thats in stock is selected. i'll live with i that way.
__________________
4.7.x xcart store
Business 5.4xx
Reply With Quote

The following 3 users thank Dougrun for this useful post:
elmirage001 (01-21-2022), peggyr (01-31-2022), PhilJ (01-21-2022)
  #412  
Old 02-12-2022, 10:20 PM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,045
 

Default Re: X-Cart reBOOT (reDUX) Template

Quick way to add sort by 'Date' in the product 'Sort By...' dropdown...

1) Apply this SQL patch...
Code:
REPLACE INTO xcart_config VALUES ('products_order','Select the order in which products should be displayed within a category','add_date','Appearance',110,'selector','orderby','productcode:lbl_sku\ntitle:lbl_product\norderby:lbl_default\nprice:lbl_price\nsales_stats:lbl_sales\nreview_rating:lbl_acr_sort_by_review_rating\nadd_date:lbl_date','','');

2) In /include/search.php

After...
Code:
'sales_stats' => 'lbl_sales',

Insert...
Code:
'add_date' => 'lbl_date',

Then before...
Code:
default: $sort_string = "$sql_tbl[products_lng_current].product";

Insert...
Code:
case 'add_date': $sort_string = "$sql_tbl[products].add_date $direction"; break;
Reply With Quote

The following 2 users thank PhilJ for this useful post:
elmirage001 (02-13-2022), peggyr (02-13-2022)
  #413  
Old 02-14-2022, 11:40 AM
 
peggyr peggyr is offline
 

X-Adept
  
Join Date: Dec 2005
Posts: 593
 

Default Re: X-Cart reBOOT (reDUX) Template

Hi Phil,

I just noticed something where the reDUX category sequence on my 'first category' is appearing in SKU sequence, and not the preferred item sequence as specified in the admin panel-> category products-> position.

All 'other' categories are appearing as preferenced in the cat products-> position column.

I do NOT think this has always been happening, but, not sure.

I start the ordering Pos sequence value with '0', which I always have done.

Any ideas?

Thanks

Peggy
__________________
X-Cart GP 4.7.12 | XCARTMODS.CO.UK reBOOT (reDUX)4.7.12.8 | Live
IONOS Hosting | Linux | PHP 7.4.25 | MySQL 5.7
Reply With Quote
  #414  
Old 02-15-2022, 12:07 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,045
 

Default Re: X-Cart reBOOT (reDUX) Template

@Peggy, I believe you have to set "Select the order in which products should be displayed within a category" to "Default" in Admin > General Settings > Appearance.
Reply With Quote
  #415  
Old 02-15-2022, 07:05 AM
 
peggyr peggyr is offline
 

X-Adept
  
Join Date: Dec 2005
Posts: 593
 

Default Re: X-Cart reBOOT (reDUX) Template

Thanks Phil,

the products are displayed in 'default' in admin panel->general settings->appearance

Any other ideas?

I know these were listed in the correct sequence at some point, can't think of what I could have done to change it, and only to the 'first' category.

Going to run a test on my 'test server', and move the category around to see if the problem is on the 'first category' or 'this category' stay tuned.

Peggy
Attached Images
File Type: jpg Display-products-default.JPG (12.6 KB, 3 views)
__________________
X-Cart GP 4.7.12 | XCARTMODS.CO.UK reBOOT (reDUX)4.7.12.8 | Live
IONOS Hosting | Linux | PHP 7.4.25 | MySQL 5.7
Reply With Quote
  #416  
Old 02-25-2022, 02:35 PM
 
Dougrun Dougrun is offline
 

X-Adept
  
Join Date: Apr 2012
Posts: 833
 

Default Re: X-Cart reBOOT (reDUX) Template

is there any way to create an advanced search that could search by variant name? Say someone wanted a "7.5" shoe what had stock > 0
possible??
__________________
4.7.x xcart store
Business 5.4xx
Reply With Quote
  #417  
Old 02-26-2022, 12:45 PM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,045
 

Default Re: X-Cart reBOOT (reDUX) Template

Not that I know of Doug, it's probably quite involved, but I'll have a think ... maybe give Steve or BCSE a shout.

There were 'make/model/year' type mods floating about at one time, which I think utilised product extra fields... maybe one of them could do the job...

OOH, this is my 4000th post, woot
Reply With Quote

The following 2 users thank PhilJ for this useful post:
BCSE (02-28-2022), elmirage001 (02-28-2022)
  #418  
Old 02-28-2022, 06:00 AM
  BCSE's Avatar 
BCSE BCSE is online now
 

X-Man
  
Join Date: Apr 2003
Location: Ohio - bcsengineering.com
Posts: 2,960
 

Default Re: X-Cart reBOOT (reDUX) Template

Quote:
Originally Posted by Dougrun
is there any way to create an advanced search that could search by variant name? Say someone wanted a "7.5" shoe what had stock > 0
possible??

Yes it could be done. Drop us an email if you want.

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
  #419  
Old 03-03-2022, 07:09 AM
 
vulcan-works vulcan-works is offline
 

Senior Member
  
Join Date: Feb 2004
Posts: 134
 

Default Re: X-Cart reBOOT (reDUX) Template

Quote:
Originally Posted by Dougrun
my email icon for product stock notifications is missing. Was this removed? I can see the code but the icon doesnt show when a 0 stock variant is selected. Seems to be ok on non-variants (tested with low notification) but i have zero stock items set to not show so it wont work with that setting. I know it worked as far back as last august as I have B notification on some shoes that are variants.

Im having this same problem, out of stock notification button does not show on variant products only. Works everywhere else.
Was this resolved?
__________________
X-cart--4.7.12

vulcanworks.net
Reply With Quote
  #420  
Old 03-03-2022, 08:39 AM
 
Dougrun Dougrun is offline
 

X-Adept
  
Join Date: Apr 2012
Posts: 833
 

Default Re: X-Cart reBOOT (reDUX) Template

no, see post #411 for my work around.
__________________
4.7.x xcart store
Business 5.4xx
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4


Thread Tools

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 01:52 PM.

   

 
X-Cart forums © 2001-2020