lightspeedretail/webstore — Issue #205: Featured products, mostly implemented from prior versions, need to add Admin panel access
Author: ktwbc
Created: 2012-02-01 14:22:19+00:00
State: open
Labels: New Feature

For featured, add to xls_ws)_serivce on line 558

$strFeatured = _xls_get_conf('FEATURED_KEYWORD','notset');
if ($strFeatured != 'notset' && $product->Web && (
$strWebKeyword1==$strFeatured || $strWebKeyword2==$strFeatured || $strWebKeyword2==$strFeatured))
$product->Featured=1;

then mysql insert key is

INSERT INTO `xlsws_configuration` VALUES (NULL, 'Featured Keyword', 'FEATURED_KEYWORD', 'featured', 'If this keyword is one of your product keywords, the product will be featured on the Web Store homepage.', 8, 6, NOW(), NOW(), NULL);