| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
#1
|
|||||||
|
|||||||
global_product_options
6. In include/product_modify.php, add: if ($section == 'options') @include $xcart_dir."/include/global_product_options.php"; #BCSE Added
After: if ( file_exists($xcart_dir.'/modules/Product_Options/product_options.php') && is_readable($xcart_dir.'/modules/Product_Options/product_options.php') ) { include $xcart_dir.'/modules/Product_Options/product_options.php'; } did not find: Code:
x-cart v4.6.5 gold 8. In include/func/func.product.php, in func_delete_product(), add: #BCSE Begin if(!empty($classes)){ $global_classids = func_query_column("SELECT classid FROM $sql_tbl[classes] WHERE classid IN ('".implode("','", $classes)."') and global = 'Y'"); if(!empty($global_classids)) foreach($global_classids as $cid){ $class_name = func_query_first_cell("select class from $sql_tbl[classes] where classid = '$cid'"); db_query("update $sql_tbl[classes] set global = 'Y' where class = '".addslashes($class_name)."' and global = 'C' limit 1"); } } #BCSE End Before: db_query("DELETE FROM $sql_tbl[classes] where productid='$productid'"); did not find: Code:
Do this step only if the line <li>Custom Modules doesn't exist 2a. In skin/common_files/single/menu_box.tpl and skin/common_files/admin/menu_box.tpl, add: <li>Custom Modules <div> </div> </li> After: {include file="admin/help.tpl"} did not find: Code:
2b. In skin/common_files/single/menu_box.tpl and skin/common_files/admin/menu_box.tpl, add: <a href="{$catalogs.admin}/add_global_options.php">{$lng.lbl_global_product_o ptions}</a>{*BCSE Added*} After: <li>Custom Modules <div> did not find: Code:
__________________
X-Cart Version: 4.7.12 GOLD www.cheapglasses123.com prescription glasses online at discounted prices. prescriptionglassesusa.com www.loupesusa.com X-Cart Version: 4.7.11 GOLD PLUS |
|||||||
#2
|
|||||||
|
|||||||
Re: global_product_options
i have test x-cart gold plus, v4.6.5, same issues.
__________________
X-Cart Version: 4.7.12 GOLD www.cheapglasses123.com prescription glasses online at discounted prices. prescriptionglassesusa.com www.loupesusa.com X-Cart Version: 4.7.11 GOLD PLUS |
|||||||
#3
|
|||||||||
|
|||||||||
Re: global_product_options
Just insert the <li>Custom Modules</li> if it does not exist.
Put it at the bottom, after the other <li> elements but before the closing </ul>
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey XcartGuru X-cart Tutorials | X-cart 5 Tutorials Check out the responsive template for X-cart. |
|||||||||
#4
|
|||||||||
|
|||||||||
Re: global_product_options
Please reserve critical tickets to site down issues. Gary will help you when he's in next. He works weekends sometimes.
Thank you, 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! |
|||||||||
#5
|
|||||||
|
|||||||
Re: global_product_options
have installed successfully.
found another issue. how to let the same option_name has the same optionid? i have checked xcart_product_options_lng from phpmyadmin. found as we add products, even we choose global product options, optionid still increase. our aim is to let the same option name has the same optionid. how to global_product_options meets this please? if global_product_options can let the same option_name has the same optionid, we plan to let the common option group written in hard code in an html page; in current situration, we can not do so, because optionid is increasing as we add new products. tks.
__________________
X-Cart Version: 4.7.12 GOLD www.cheapglasses123.com prescription glasses online at discounted prices. prescriptionglassesusa.com www.loupesusa.com X-Cart Version: 4.7.11 GOLD PLUS |
|||||||
#6
|
|||||||||
|
|||||||||
Re: global_product_options
You will have to test on option_name or some other field. Optionid will increase always.
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! |
|||||||||
|
|||
X-Cart forums © 2001-2020
|