-
Posts
199 -
Joined
-
Last visited
Reputation Activity
-
RusNN got a reaction from megalucca in AJAX Attribute Manager support
Chris done great work. Congrats!
You also make AJAX AM compatible to osC v2.3 and later by doing standart installation except two steps in step 2:
1. In admin\categories.php EXCEPT adding
<!-- AJAX Attribute Manager --> <?php require_once( 'attributeManager/includes/attributeManagerHeader.inc.php' )?> <!-- AJAX Attribute Manager end --> add
require_once('attributeManager/includes/attributeManagerHeader.inc.php'); AFTER
require(DIR_WS_INCLUDES . 'template_top.php'); or MOVE
require_once('attributeManager/includes/attributeManagerHeader.inc.php'); exactly UNDER
require(DIR_WS_INCLUDES . 'template_top.php'); in case of upgrading from v2.2.
2. Completely ignore instruction of modifying BODY tag to
onload="goOnLoad();" .
And the last change:
3. In admin\attributeManager\includes\attributeManagerHeader.inc.php REPLACE
function goOnLoad() { <?php if('new_product' == $action || 'update_product' == $action) echo 'attributeManagerInit();'; ?> SetFocus(); } with this
$(document).ready(function(){ <?php if('new_product' == $action || 'update_product' == $action) echo 'attributeManagerInit();'; ?> SetFocus(); });
So, we just make JQuery to work for us. It runs AJAX AM after page were loaded. We changed only 1 core file admin\categories.php as in original instruction.
Tested, works OK.
Hi, Sara!
I'm sorry, but I completely have no time to made this contrib actually multilingual.
To all
Hope after New Year I'll find time to make AJAX AM to other version, just because it has some shuffle in versions after 2.8.7 (full QT Pro support) and some bugs are found in them.
-
RusNN got a reaction from hughesca in AJAX Attribute Manager support
Chris done great work. Congrats!
You also make AJAX AM compatible to osC v2.3 and later by doing standart installation except two steps in step 2:
1. In admin\categories.php EXCEPT adding
<!-- AJAX Attribute Manager --> <?php require_once( 'attributeManager/includes/attributeManagerHeader.inc.php' )?> <!-- AJAX Attribute Manager end --> add
require_once('attributeManager/includes/attributeManagerHeader.inc.php'); AFTER
require(DIR_WS_INCLUDES . 'template_top.php'); or MOVE
require_once('attributeManager/includes/attributeManagerHeader.inc.php'); exactly UNDER
require(DIR_WS_INCLUDES . 'template_top.php'); in case of upgrading from v2.2.
2. Completely ignore instruction of modifying BODY tag to
onload="goOnLoad();" .
And the last change:
3. In admin\attributeManager\includes\attributeManagerHeader.inc.php REPLACE
function goOnLoad() { <?php if('new_product' == $action || 'update_product' == $action) echo 'attributeManagerInit();'; ?> SetFocus(); } with this
$(document).ready(function(){ <?php if('new_product' == $action || 'update_product' == $action) echo 'attributeManagerInit();'; ?> SetFocus(); });
So, we just make JQuery to work for us. It runs AJAX AM after page were loaded. We changed only 1 core file admin\categories.php as in original instruction.
Tested, works OK.
Hi, Sara!
I'm sorry, but I completely have no time to made this contrib actually multilingual.
To all
Hope after New Year I'll find time to make AJAX AM to other version, just because it has some shuffle in versions after 2.8.7 (full QT Pro support) and some bugs are found in them.
-
RusNN got a reaction from Benjjj6 in [Contribution] Cross Sell (X-Sell) Admin
Version 2.7.1 uploaded.
Fixing bug with reciprocal links. Now works this way:
You may cross products to each other (turn on all checkboxes);
You may choose one product and cross it to the second (turn on only first checkbox);
You may choose one product and cross the second product to it (turn on only second checkbox).
Freely contact me through PM.
-
RusNN got a reaction from Jenica77 in AJAX Attribute Manager support
Unfortunately, Attribute sort order plugin doesn't have functionality to change sort order of existing options. You may sort options only if you create them throug AJAX AM contrib.
If you want to change order of existing options use phpMyAdmin or something like that and post this query to each option you change:
UPDATE `products_options` SET `products_options_sort_order` = '<YOUR SORT ORDER>' WHERE `products_options_id` =<OPTION ID TO CHANGE> AND `language_id` =<YOUR LANGUAGE>;
<YOUR SORT ORDER> - number (only!) of sort order you want to give
<OPTION ID TO CHANGE> - number (only!) of options you want to set new sort order
<YOUR LANGUAGE> - number (only!) of language for such an option
Also, check catalog\product_info.php for code:
$products_options_name_query = tep_db_query("select distinct popt.products_options_id .......... order by popt.products_options_sort_order ......
I don't remeber exactly, cause QTPro and I changed this. "popt.products_options_sort_order" in "order by" clause of this query solve your issue completely.
-
RusNN got a reaction from mortal in AJAX Attribute Manager support
So, you done it! Good. Sorry I can't post earlier and my fault was that I forgot to say to check core files, because the letter "t:" for quantity was hardcoded in admin\attributeManager\attributeManager.php and of couse if you may see it, your attributeManager.php is old.
Regards!
Peter
-
RusNN got a reaction from rawaby88 in Options as images
What version of OaI do you using?
In all cases the $language_id is wrong, because it must be $languages_id (-s letter were forgotten).
So, try query
$options_query = tep_db_query("select * from " . TABLE_PRODUCTS_OPTIONS . " where language_id='" . $languages_id . "'");