Jump to content
Nimmit

AJAX Attribute Manager support

Recommended Posts

Hi all..

 

First just have to say what a great contribution...

We have a shop with over 300 products that have different attributes so this is an absolute life saver..

 

So thanks to the people behind this..

 

Now, i have installed the contrib with no problems and i can use all of its features no problem apart from the templates...

 

Its not essential for us to use the templating and im so happy with what we have im hesitant to alter anything but when i try to create a template an error comes up...

 

-----------------------------------------------------

 

1054 - Unknown column 'price_prefix' in 'field list'

 

insert into am_attributes_to_templates (template_id, options_id, option_values_id, price_prefix, options_values_price) values ('5', '2', '86', '', '0.0000')

 

[TEP STOP]

 

----------------------------------------------------

 

Im not that clued up with mysql, i can use phpmyadmin but im really not sure what to change in the database to correct this error...

 

If anyone has any ideas i would love to hear them..

Many Thanks

Ian

Share this post


Link to post
Share on other sites

Hi all,

 

I honestly couldn't browse through the 31 pages, but searched the forum for an error like this and didn't find anything.

 

Now I installed the Attribute Manager DIRECT as the instructions said and have no problems, I did NOT modify anything and it works fine, UNLESS I make a mistake. If I make a mistake and try to delete one of the attributes created, I get an error and CANNOT fix it, unless I delete the whole product and then re-insert the whole product making sure no mistakes are made.

 

This is a pain because I can't change/fix sort order after this, unless I reinsert the WHOLE product and make sure to do everything properly, which isn't an issue as I've only made 1 or 2 mistakes, BUT for anyone else, and for myself to save trouble and most importantly time. I would love some help with this, because I honestly have no clue why it's happening, I barely have ANY contribs running on my store, apart from this really.

 

I get this error in a little pop up window;

 

Fatal error: Call to undefined function sprint_f() in /home/**MYACCOUNT**/public_html/catalog/admin/attributeManager/includes/attributeManagerPrompts.inc.php on line 140

 

And here is the corresponding file it's talking about;

 

<?php
/*
$Id: attributeManagerPrompts.inc.php,v 1.0 21/02/06 Sam West$

osCommerce, Open Source E-Commerce Solutions
[url="http://www.oscommerce.com"]http://www.oscommerce.com[/url]

Released under the GNU General Public License

Copyright © 2006 Kangaroo Partners
[url="http://kangaroopartners.com"]http://kangaroopartners.com[/url]
osc@kangaroopartners.com
*/

function yesNoButtons($section) {
return '
<div style="width:100px;margin:auto;">
<table border="0" cellpadding="5">
<tr>
<td><input type="submit" value="'.AM_AJAX_YES.'" onClick="return '.$section.'();" /></td>
<td align="right"><input type="submit" value="'.AM_AJAX_NO.'" onClick="removeCustomPrompt();" /></td>
</tr>
</table>
</div>';
}

function updateCancelButtons($section) {
return '
<div style="text-align:right;margin-top:20px">
<input type="submit" value="'.AM_AJAX_UPDATE.'" onClick="return '.$section.'();" /> 
<input type="submit" value="'.AM_AJAX_CANCEL.'" onClick="removeCustomPrompt();" />
</div>';
}

function languageTextFields() {

$return = '
<table>';
$languages = tep_get_languages();
foreach ($languages as $amLanguage) {
$return .='
<tr>
<td align="right">'. tep_image(DIR_WS_CATALOG_LANGUAGES . $amLanguage['directory'] . '/images/' . $amLanguage['image'], $amLanguage['name']).'</td>
<td>'.tep_draw_input_field('text_field_'.$amLanguage['id'],'','id="'.$amLanguage['id'].'"').'</td>
</tr>';
}
if ($_GET['section']== 'amAddOption') {
$style = 'style="margin:3px 0px 3px 0px;" id="stockTracking_1" size="4"';
$optionSortDrop = array('1', '2', '3', '4', '5', '6', '7', '8', '9');
$return .= ' <tr>';
if(AM_USE_SORT_ORDER) {
$return .= '<td>'.AM_AJAX_SORT.tep_draw_pull_down_menu('optionSortDropDown', $optionSortDrop, '', 'id="optionSortDropDown"').'</td>';
} else {
$return .= tep_draw_hidden_field('optionSortDropDown', '0', 'id="optionSortDropDown"');
}

if(AM_USE_QT_PRO) {
$return .=' <td>'.AM_AJAX_TRACK_STOCK.' <img src="attributeManager/images/icon_up.png" id="imgCheck_1" onclick="checkBox(1)" title="'.AM_AJAX_TRACK_STOCK_IMGALT.'" />
'. tep_draw_hidden_field('stockTracking_1', '0', $style).'
</td>';
} else {
$return .= tep_draw_hidden_field('stockTracking_1', '0', $style);
}
$return .=' </tr>';
}
$return .= '
</table>';
return $return;
}


function okButton() {
return '<input type="submit" align="center" value="'.AM_AJAX_OK.'" onClick="removeCustomPrompt();" />';
}

class amPopups {
var $header = '';
var $contents = '';

function setHeader($string) {
$this->header .= $string;
}

function addToContents($string) {
$this->contents .= $string;
}

function output() {
return '
<div id="popupHeading">'.stripcslashes($this->header).'</div>
<div id="popupContainer">'.$this->contents.'</div>';
}
}

// check that it is a prompt section
if(isset($_GET[AM_ACTION_GET_VARIABLE]) && $_GET[AM_ACTION_GET_VARIABLE] == 'prompt') {

// de encode the extra gets string
if(isset($_GET['gets'])) {
$arrExtraValues = array();
$valuePairs = array();

if(strpos($_GET['gets'],'|'))
$valuePairs = explode('|',$_GET['gets']);
else
$valuePairs[] = $_GET['gets'];

foreach($valuePairs as $pair)
if(strpos($pair,':')) {
list($extraKey, $extraValue) = explode(':',$pair);
$arrExtraValues[$extraKey] = $extraValue;
}
}

switch($_GET['section']) {
case 'amAddOption':
$amPopup = new amPopups();
$amPopup->setHeader(AM_AJAX_ENTER_NEW_OPTION_NAME);
$amPopup->addToContents(languageTextFields());
$amPopup->addToContents(updateCancelButtons($_GET['section']));
echo $amPopup->output();
break;
case 'amAddOptionValue':
$amPopup = new amPopups();
$amPopup->setHeader(AM_AJAX_ENTER_NEW_OPTION_VALUE_NAME);
$amPopup->addToContents(languageTextFields());
$amPopup->addToContents(updateCancelButtons($_GET['section']));
echo $amPopup->output();
break;
case 'amAddNewOptionValueToProduct':
$amPopup = new amPopups();
$amPopup->setHeader(sprint_f(AM_AJAX_ENTER_NEW_OPTION_VALUE_NAME_TO_ADD_TO, $arrExtraValues['option_name']));
$amPopup->addToContents(languageTextFields());
$amPopup->addToContents(updateCancelButtons($_GET['section']));
$amPopup->addToContents(tep_draw_hidden_field('option_id',$arrExtraValues['option_id'],'id="option_id"'));
echo $amPopup->output();
break;
case 'amRemoveOptionFromProduct':
$amPopup = new amPopups();
$amPopup->setHeader(sprint_f(AM_AJAX_PROMPT_REMOVE_OPTION_AND_ALL_VALUES, $arrExtraValues['option_name']));
$amPopup->addToContents(yesNoButtons($_GET['section']));
$amPopup->addToContents(tep_draw_hidden_field('option_id',$arrExtraValues['option_id'],'id="option_id"'));
echo $amPopup->output();
break;
case 'amRemoveOptionValueFromProduct':
$amPopup = new amPopups();
$amPopup->setHeader(sprint_f(AM_AJAX_PROMPT_REMOVE_OPTION, $arrExtraValues['option_value_name']));
$amPopup->addToContents(yesNoButtons($_GET['section']));
$amPopup->addToContents(tep_draw_hidden_field('option_id',$arrExtraValues['option_id'],'id="option_id"'));
$amPopup->addToContents(tep_draw_hidden_field('option_value_id',$arrExtraValues['option_value_id'],'id="option_value_id"'));
echo $amPopup->output();
break;
// For QT Pro Plugin -- added by Phocea
case 'amRemoveStockOptionValueFromProduct':
$amPopup = new amPopups();
$amPopup->setHeader(AM_AJAX_PROMPT_STOCK_COMBINATION);
$amPopup->addToContents(yesNoButtons($_GET['section']));
$amPopup->addToContents(tep_draw_hidden_field('option_id',$arrExtraValues['option_id'],'id="option_id"'));
echo $amPopup->output();
break;
// For QT Pro Plugin -- added by Phocea
case 'loadTemplate':
$amPopup = new amPopups();
$amPopup->setHeader(sprint_f(AM_AJAX_PROMPT_LOAD_TEMPLATE, $arrExtraValues['template_name']));
$amPopup->addToContents(yesNoButtons($_GET['section']));
$amPopup->addToContents(tep_draw_hidden_field('template_id',$arrExtraValues['template_id'],'id="template_id"'));
echo $amPopup->output();
break;
case 'saveTemplate':
$amPopup = new amPopups();
$amPopup->setHeader(AM_AJAX_NEW_TEMPLATE_NAME_HEADER);
$amPopup->addToContents(AM_AJAX_NEW_NAME.' '.tep_draw_input_field('template_name','','id="template_name" onchange="((this.value != \'\') ? document.getElementById(\'existing_template\').selectedIndex = 0 : \'\')"'));
$templatesDrop = $attributeManager->buildAllTemplatesDropDown();
$amPopup->setHeader(AM_AJAX_CHOOSE_EXISTING_TEMPLATE_TO_OVERWRITE);
$amPopup->addToContents('<br /><br />'. AM_AJAX_CHOOSE_EXISTING_TEMPLATE_TITLE .' '. tep_draw_pull_down_menu('existing_template',$templatesDrop,'0','id="existing_template" onChange="document.getElementById(\'template_name\').value=\'\';"'));
$amPopup->addToContents(updateCancelButtons($_GET['section']));
$amPopup->addToContents(tep_draw_hidden_field('template_id',$arrExtraValues['template_id'],'id="template_id"'));
echo $amPopup->output();
break;
case 'renameTemplate':
$amPopup = new amPopups();
$amPopup->setHeader(sprint_f(AM_AJAX_RENAME_TEMPLATE_ENTER_NEW_NAME, $arrExtraValues['template_name']));
$amPopup->addToContents(AM_AJAX_NEW_NAME.' '.tep_draw_input_field('template_new_name','','id="template_new_name"'));
$amPopup->addToContents(updateCancelButtons($_GET['section']));
$amPopup->addToContents(tep_draw_hidden_field('template_id',$arrExtraValues['template_id'],'id="template_id"'));
echo $amPopup->output();
break;
case 'deleteTemplate':
$amPopup = new amPopups();
$amPopup->setHeader(sprint_f(AM_AJAX_PROMPT_DELETE_TEMPLATE, $arrExtraValues['template_name']));
$amPopup->addToContents(yesNoButtons($_GET['section']));
$amPopup->addToContents(tep_draw_hidden_field('template_id',$arrExtraValues['template_id'],'id="template_id"'));
echo $amPopup->output();
break;
case 'debug':
$amPopup = new amPopups();
$amPopup->setHeader(implode($valuePairs, ','));
$amPopup->addToContents(yesNoButtons($_GET['section']));
$amPopup->addToContents(tep_draw_hidden_field('debug',$arrExtraValues['debug'],'id="debug"'));
echo $amPopup->output();
break;
}
}

?>

 

And here is the Line 140 code it's talking about;

 

$amPopup->setHeader(sprint_f(AM_AJAX_PROMPT_REMOVE_OPTION_AND_ALL_VALUES, $arrExtraValues['option_name']));

 

Any help appreciated as it would be going in to help the contrib too, as I don't see how it's an error from my store.

Share this post


Link to post
Share on other sites

I get this error when I install the contribution.

 

Warning: array_key_exists() [function.array-key-exists]: The first argument should be either a string or an integer in /home/sakari/public_html/catalog/admin/includes/functions/sessions.php on line 123

Warning: array_key_exists() [function.array-key-exists]: The first argument should be either a string or an integer in /home/sakari/public_html/catalog/admin/includes/functions/sessions.php on line 123

Warning: Cannot modify header information - headers already sent by (output started at /home/sakari/public_html/catalog/admin/includes/functions/sessions.php:123) in /home/sakari/public_html/catalog/admin/attributeManager/attributeManager.php on line 71

 

Please help... Thanks

 

Michael

Share this post


Link to post
Share on other sites
seriously, I have no idea where this is supposed to show up. cant find it anywhere. I uploaded the folder structure to a fresh install, added the nessesary code in the catalog.php in admin and see nothing different in the control panel. Mabye I am just not seeing it. Anyone?

 

Hi,

 

I have the same problem, i have follow the installation guide but nothing new appears in my catalog panel...

 

How fixe this problem ?

 

thanks all for your help !

Share this post


Link to post
Share on other sites
Hi,

 

I have the same problem, i have follow the installation guide but nothing new appears in my catalog panel...

 

How fixe this problem ?

 

thanks all for your help !

 

 

have found the solution...

 

deleting the file called .htaccess on attributeManager folder solves the problem....

 

strange thing that ! :blink:

Share this post


Link to post
Share on other sites

Hi

 

I have a problem when running the sql in phpmyadmin. (simeon's version of the contribution)

 

Error

SQL query:

 

INSERT INTO `admin_files`

VALUES (

 

'', 'attributeManager.php', 0, 3, '1'

)

 

MySQL said:

 

#1146 - Table 'gamecent_gamecentral.admin_files' doesn't exist

 

What's gone wrong?

Share this post


Link to post
Share on other sites

Warning: array_key_exists() [function.array-key-exists]: The first argument should be either a string or an integer in /home/sakari/public_html/catalog/admin/includes/functions/sessions.php on line 123

Warning: array_key_exists() [function.array-key-exists]: The first argument should be either a string or an integer in /home/sakari/public_html/catalog/admin/includes/functions/sessions.php on line 123

Warning: Cannot modify header information - headers already sent by (output started at /home/sakari/public_html/catalog/admin/includes/functions/sessions.php:123) in /home/sakari/public_html/catalog/admin/attributeManager/attributeManager.php on line 71

 

anyone have this problem?

Edited by gomikeyp

Share this post


Link to post
Share on other sites
Warning: array_key_exists() [function.array-key-exists]: The first argument should be either a string or an integer in /home/sakari/public_html/catalog/admin/includes/functions/sessions.php on line 123

Warning: array_key_exists() [function.array-key-exists]: The first argument should be either a string or an integer in /home/sakari/public_html/catalog/admin/includes/functions/sessions.php on line 123

Warning: Cannot modify header information - headers already sent by (output started at /home/sakari/public_html/catalog/admin/includes/functions/sessions.php:123) in /home/sakari/public_html/catalog/admin/attributeManager/attributeManager.php on line 71

 

anyone have this problem?

 

 

yeah i have the same problem, any idea how to fix it?

Share this post


Link to post
Share on other sites
have you managed to find the cause of the Warning: array_key_exists() error?

 

 

i tried that, didnt work for me. got rid of the errors, but it says session not registered.

 

btw i have no idea what im doing.

Share this post


Link to post
Share on other sites

I was saving attributes as a template and got this error, then lost the info:

 

1054 - Unknown column 'price_prefix' in 'field list'

 

insert into am_attributes_to_templates (template_id, options_id, option_values_id, price_prefix, options_values_price) values ('1', '10', '95', '', '0.0000')

 

[TEP STOP]

 

----------

 

Ideas?

Share this post


Link to post
Share on other sites

ALTER TABLE `am_attributes_to_templates` ADD (

options_values_price decimal( 15, 4 ) ,

price_prefixchar( 1 )

)

 

Does the above have to do with that? Because if it does, I don't understand what it is saying to :(

Share this post


Link to post
Share on other sites
Warning: array_key_exists() [function.array-key-exists]: The first argument should be either a string or an integer in /home/sakari/public_html/catalog/admin/includes/functions/sessions.php on line 123

Warning: array_key_exists() [function.array-key-exists]: The first argument should be either a string or an integer in /home/sakari/public_html/catalog/admin/includes/functions/sessions.php on line 123

Warning: Cannot modify header information - headers already sent by (output started at /home/sakari/public_html/catalog/admin/includes/functions/sessions.php:123) in /home/sakari/public_html/catalog/admin/attributeManager/attributeManager.php on line 71

 

anyone have this problem?

 

 

Changed line 123 to...

return isset($_SESSION[$variable]);

 

seems to work now, got rid of the error messages.

Share this post


Link to post
Share on other sites
Hi all,

 

I honestly couldn't browse through the 31 pages, but searched the forum for an error like this and didn't find anything.

 

Now I installed the Attribute Manager DIRECT as the instructions said and have no problems, I did NOT modify anything and it works fine, UNLESS I make a mistake. If I make a mistake and try to delete one of the attributes created, I get an error and CANNOT fix it, unless I delete the whole product and then re-insert the whole product making sure no mistakes are made.

 

This is a pain because I can't change/fix sort order after this, unless I reinsert the WHOLE product and make sure to do everything properly, which isn't an issue as I've only made 1 or 2 mistakes, BUT for anyone else, and for myself to save trouble and most importantly time. I would love some help with this, because I honestly have no clue why it's happening, I barely have ANY contribs running on my store, apart from this really.

 

 

Apart from the error message I'm having the same problem, I just don't have any option to sort order after deleting an attribute then re-adding attributes, it's driving me nuts... Any help greatly appreciated! :)

Edited by pulp2

Share this post


Link to post
Share on other sites
We too have installed Product Attrib Sort v1.2a together with AJAX Attribute Manager V2.7.1

 

At first it would also give errors , but with the following I got it going:

 

In the file admin/attributeManager/classes/attributeManagerConfig.class.php:

 

$this->add('AM_FIELD_OPTION_SORT_ORDER','attribute_sort'); // Sort column on Products_options table

$this->add('AM_FIELD_OPTION_VALUE_SORT_ORDER','attribute_sort'); // Sort column on product_attributes table

 

In the .sql from file Attrib Sort v1.2a I put:

 

ALTER TABLE products_attributes ADD COLUMN attribute_sort INT UNSIGNED NOT NULL DEFAULT '0';

ALTER TABLE products_options ADD COLUMN attribute_sort INT UNSIGNED NOT NULL DEFAULT '0';

 

Good luck :)

 

 

Thanks for the fix Morgan! The only problem I'm having is when running the sql in your fix I get the following error:

 

#1060 - Duplicate column name 'attribute_sort'

 

I'm still learning... What is the fix for this? Or has it already been inserted in the mysql statement?

 

The problem I'm having is there is after installing attribute_sort 1.2a I still have no option to sort the attributes through the ajax attribute manager. Argh. It would be so cool if I could get this working! Any help appreciated!

Edited by pulp2

Share this post


Link to post
Share on other sites

HELP! my attributes are sorted in both ascending and descending order. i use the same template to add my attributes, and even if i change the sort order in the template it does no good. any ideas how to fix this?

 

also, has anyone got a fix for the price prefix in the templates?

 

i have tried 2.7.1 but when i install the full version the contrib doesnt work, when i run his added sql code i get an error from my sql saying syntax error.

 

2.2rc2 osc.

 

i would love to get this figured out! :) thanks everyone

Share this post


Link to post
Share on other sites

Just installed v2.7.1 with 'Query Ajax Attribute manager.txt'. I do not have sort order contr yet.

It seems to work but.... if i change an existing product and try to add an option/value with no prefix/value (so the price stays the same) i get:

 

1366 - Incorrect decimal value: '' for column 'options_values_price' at row 1

insert into products_attributes (products_id, options_id, options_values_id, options_values_price, price_prefix) values ('33', '1', '1', '', '')

 

If i add +/- 0 it works properly.

 

If i now try to add another value for the same option (upper right corner) i have no edit boxes to add +/- 0 so it gives again:

 

1366 - Incorrect decimal value: '' for column 'options_values_price' at row 1

insert into products_attributes (products_id, options_id, options_values_id, options_values_price, price_prefix) values ('33', '1', '5', '', '')

 

What am i doing wrong? How to get around this issue?

Share this post


Link to post
Share on other sites

Hmm, there are two ways to add a new option/value to the product (addAttributeToProduct (at the bottom of the frame where price, prefix can be chosen as well) and addOptionValueToProduct (top right drop-down select the option and choose add)). The only the first has the elements price and prefix (and sortorder) added to the requeststring, -or- the latter misses these.

 

Then on line 100 in attributeManagerAtomic.class.php function addOptionValueToProduct() is deligated to addAttributeToProduct() ultimately leading to empty elements in the SQL ('') for both price and prefix.

 

Can someone with in depth knowledge of this contro point me out where the bug lays and what is the logical location to fix it?

 

My thoughts go to adding default price and prefix (+0) for addOptionValueToProduct().

 

But then again, the oscommerce manual says you can leave these field empty as well, so maybe the insert into .... should be changed when elements are empty?

 

Futhermore: great contribution!

Share this post


Link to post
Share on other sites

This mod is great in its functionality - my customers will love being able to edit the attributes so easily and on the same page as the product. Cheers to the originator and all who have contributed to extended functionality!

 

I am curious... does this mod work with QT Pro yet? If not, what is the time frame if anyone knows? I really would like this mod to work with QT Pro (which I have not yet installed) for a client, but thought that I read somewhere that it is still in development?

 

Someone please update me, thanks!!

Share this post


Link to post
Share on other sites

Hi Everyone!

 

First of all THANKS to all the people working on this Contribution. It works great! :)

 

But I still have a little Problem:

 

When I save a set of attributes to a template the prices are not saved!!!! So I can use the template in a new product but I need to put in all the prices again....which brings me back to the start again.

 

I need to have the same set of attributes with the same prices on all of my products.

 

DOES ANYONE HAVE AN IDEA HOW I CAN SOLVE THIS????

 

Thanx

Edited by doorwish

IT?s ALL good!!!

Share this post


Link to post
Share on other sites
Changed line 123 to...

return isset($_SESSION[$variable]);

 

seems to work now, got rid of the error messages.

 

I'm getting the same error messages, and this change didn't help me at all. Simply thew up another error message.

 

Does anyone here have prior experience with these errors? This is a great contribution and I'd really like it to play nice with my install.

 

Warning: array_key_exists() [function.array-key-exists]: The first argument should be either a string or an integer in /home/bedarin1/public_html/admin/includes/functions/sessions.php on line 123

 

...this error is repeated six times!!! Then...

 

Warning: Cannot modify header information - headers already sent by (output started at /home/bedarin1/public_html/admin/includes/functions/sessions.php:123) in /home/bedarin1/public_html/admin/attributeManager/attributeManager.php on line 71

 

 

Help...

 

Cheers

Tony

Share this post


Link to post
Share on other sites

THANKS SOOOO MUCH!!!

 

It took me a little while to get it working but this is the most useful contribution I have seen so far. I am currently working on a website for my wife (who has NO idea about computers) and the idea of explaining how to add the attributes to each and every one of the thousands of products she is adding was causing a deep stirring of panic in my bowels!

 

I had a similar problem to some other people that I have seen here... there was a problem on line 123 of admin/includes/functions/sessions.php

 

I followed the advice of a couple of people and deleted the .htaccess file in the attributeManager folder and replaced the aforementioned line 123 with the following:

 

return isset($_SESSION[$variable]);

 

Now it's working perfectly and I've even managed to explain it to my wife which means that I don't have to do it! I have ot working on a Spanish/English site with no problems so far.

 

Excellent work and thanks again :rolleyes: ,

 

Joseph.

 

PS. The site is www.naiadomare.com ... There's only an intro page at the moment as I'm working on the shop behind the scenes getting ready for the grand opening in a month and a half (April 28th 2008). This contribution has definately made it mre likely that it will be ready.

Share this post


Link to post
Share on other sites

My products aren't listed anymore in the store!

 

Excellent contrib - had it installed and running perfectly for +/- 2 years on my store. My site had so many contribs that eventually I lost track of everything I had added & changed! A recent (unrelated) critical error prompted me to "start over" with a fresh install of osC. I've of course modified the look of the store from the stock version. *I uploaded the database from my previous store* and have added ONLY the following contribs:

 

usps_labels_2.0.4

Remove Default Images

product_listing_columns_2_2_5

order_editor_5_0_61

Multiple_Products_Manager_2.5

EmailOrderText_1_4_FCK

AJAX-AttributeManager-V2.7.1

 

 

Everything was running smooth until I added this AJAX contrib. Admin side looks perfect, it's showing all of the attributes on my old products perfectly. I did originally get the "line 123" error but changed the code in the session.php file as mentioned above and corrected it.

 

:'( BUT.....WHEN YOU VISIT THE STORE, THE ENTIRE CATEGORIES BOX IS GONE! No products are showing up at all! They are there in the admin side, but not showing up in the store. :'(

 

When you first visit the store, they are there. Then once you select ANY page or link, the categories box disappears. Which is telling me that once the session is starting, the products are disappearing. Anyone out there that can help?! I've searched the forums for two days now and can't find the answer.

Share this post


Link to post
Share on other sites
My products aren't listed anymore in the store!

 

Excellent contrib - had it installed and running perfectly for +/- 2 years on my store. My site had so many contribs that eventually I lost track of everything I had added & changed! A recent (unrelated) critical error prompted me to "start over" with a fresh install of osC. I've of course modified the look of the store from the stock version. *I uploaded the database from my previous store* and have added ONLY the following contribs:

 

usps_labels_2.0.4

Remove Default Images

product_listing_columns_2_2_5

order_editor_5_0_61

Multiple_Products_Manager_2.5

EmailOrderText_1_4_FCK

AJAX-AttributeManager-V2.7.1

Everything was running smooth until I added this AJAX contrib. Admin side looks perfect, it's showing all of the attributes on my old products perfectly. I did originally get the "line 123" error but changed the code in the session.php file as mentioned above and corrected it.

 

:'( BUT.....WHEN YOU VISIT THE STORE, THE ENTIRE CATEGORIES BOX IS GONE! No products are showing up at all! They are there in the admin side, but not showing up in the store. :'(

 

When you first visit the store, they are there. Then once you select ANY page or link, the categories box disappears. Which is telling me that once the session is starting, the products are disappearing. Anyone out there that can help?! I've searched the forums for two days now and can't find the answer.

 

 

 

Figured out the fix, although I'm not sure why..... had to set Cache Control to "False" instead of True. Now all the products are showing up.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×