X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Third Party Add-Ons for X-Cart 4 (https://forum.x-cart.com/forumdisplay.php?f=45)
-   -   X-Cart reBOOT (reDUX) Template (https://forum.x-cart.com/showthread.php?t=77655)

Dougrun 01-21-2022 11:02 AM

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.

PhilJ 02-12-2022 10:20 PM

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;


peggyr 02-14-2022 11:40 AM

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

PhilJ 02-15-2022 12:07 AM

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.

peggyr 02-15-2022 07:05 AM

Re: X-Cart reBOOT (reDUX) Template
 
1 Attachment(s)
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

Dougrun 02-25-2022 02:35 PM

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??

PhilJ 02-26-2022 12:45 PM

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 ;)

BCSE 02-28-2022 06:00 AM

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

vulcan-works 03-03-2022 07:09 AM

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?

Dougrun 03-03-2022 08:39 AM

Re: X-Cart reBOOT (reDUX) Template
 
no, see post #411 for my work around.


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

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.