Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

AJAX Attribute Manager support


Guest

Recommended Posts

 

Weight support needs additional installation of the correspondant addon. I never used this.

see config class:

    /**
         * Use More Product Weight plugin? (http://addons.oscommerce.com/info/2706) (added by RusNN)
         */
        $this->add('AM_USE_MPW', false);

Check first if everything works without any additional plugin switched on.

Also the versions you refer are for the Bootstrapped community versions.

I didn't try them on  2.3.4 standard and do not give support for them. I began to touch AJAX attrributes manager for BS COmmunity versions.

Even admin side has not changed too much, there can be issues. If you do not get it to work, try the older versions for your 2.3.4 standard store:

https://apps.oscommerce.com/dGA4a&ajax-attribute-manager-for-2-3

Link to comment
Share on other sites

  • 3 weeks later...
On 9/30/2019 at 10:47 AM, Garret Krampe said:

it just throws up error 500 

I had to remove the package .. tried a few versions even started on fresh php code

2.8 and 2.9.5

nup .. it's broken under https

Don't get me wrong it was lovely when it was working but 

I can't debug java script

just as soon as you edit a product it crashes.

and the errors are the same despite recoding fresh php and putting new attrib directory contents.

 

Hi Folks,

got the same Error and found 

if (@mysql_get_server_info($db_link)) {

in attributeManager.php in Line 23. Changed to:

if (@mysqli_get_server_info($db_link)) {

and the Error 500 past away ;)

See Ya,

Denzel.

Link to comment
Share on other sites

24 minutes ago, Denzel said:

Hi Folks,

got the same Error and found 


if (@mysql_get_server_info($db_link)) {

in attributeManager.php in Line 23. Changed to:


if (@mysqli_get_server_info($db_link)) {

and the Error 500 past away ;)

See Ya,

Denzel.

Then you are using an outdated version.

And your fix is incorrect if you only changed the line you posted.

Since 2.9 it uses:

// Determine connection type
if (@mysqli_get_server_info($db_link)) {
  define ('AM_MYSQL_CONNECTION_TYPE', 'mysqli');
} else {
  define ('AM_MYSQL_CONNECTION_TYPE', 'mysql');
}

Not the same error like reported by @Garret Krampe

Edited by raiwa
Link to comment
Share on other sites

28 minutes ago, Heatherbell said:

@raiwa

Thanks again for this addon - I have just upgraded to 1.0.3.0 and sadly it has "disappeared" from view :(
Do you know a 'quick fix'?

I ignore how you updated, but if you replaced the admin/categories.php file with the new 1.0.3.0 version, you'll need to appliy again the ajax attributes manager modifications. Otherwise there may be an update required. I'll have a look when I find some time.

Link to comment
Share on other sites

I did it oposite, use the new categories.php and add the ajax attributes manager code and all works fine. You ll find it in the product specific tab.

Only thing is that the code reference for the first modification needs to be updated to hardcoded database table name:

          tep_db_perform('products', $sql_data_array, 'update', "products_id = '" . (int)$products_id . "'");
        }

instead of:

          tep_db_perform(TABLE_PRODUCTS, $sql_data_array, 'update', "products_id = '" . (int)$products_id . "'");
        }

 

Link to comment
Share on other sites

I had a look and the attributes manager can be hooked in the new categories.php => no more file editing. Coming soon.

Link to comment
Share on other sites

Uploaded new package :

AJAX Attribute Manager Phoenix

with;

v 3.0.0 for Phoenix 1.0.0.0-1.0.2.x (older BS version support removed)

v3.1.0 for Phoenix 1.0.3.x

changes:

+ Updated for Phoenix 1.0.3.x compatibility
+ hooked all modifications
+ no core file modifications at all
+ removed modified files and references for older BS version

Link to comment
Share on other sites

9 hours ago, hungryfrank said:

I do not see anything when I am adding or editing a product

Which Phoenix version, which AJAX Attributes Manager Version?

Need help?  See this thread and provide the information requested.

Edited by raiwa
Link to comment
Share on other sites

hi

Installed Version: OSCOM CE Phoenix v1.0.3.0

version  3.1.0

Server Host: localhost (127.0.0.1)      Database Host: localhost (127.0.0.1)
Server OS: Darwin 18.7.0      Database: MySQL 8.0.18
Server Date: 2019-11-07 08:46:47 +0000 UTC      Database Date: 2019-11-07 12:16:47
Server Up Time: 12:16 up 2 days, 16:11, 1 user, load averages: 1.26 1.31 1.37
pixel_trans.gif
HTTP Server: Apache/2.4.34 (Unix) PHP/7.1.32
PHP Version: 7.1.32 (Zend: 3.1.0)

you can cut up to 4 pages of your checkout by using my three add_ons

login create account in one page

Express checkout  

login pop up modal

Link to comment
Share on other sites

Do you see the Ajax Attributes Manager Tab in admin/categories.php when you edit a product?

Link to comment
Share on other sites

20 minutes ago, raiwa said:

Do you see the Ajax Attributes Manager Tab in admin/categories.php when you edit a product?

no.  not editing and not adding   with or without battributes

 

Edited by hungryfrank

you can cut up to 4 pages of your checkout by using my three add_ons

login create account in one page

Express checkout  

login pop up modal

Link to comment
Share on other sites

Can you please post a screenshot of your admin/categories.php when editing a product.

Please make also sure:

- that you have copied both hooks to:
includes/hooks/admin/siteWide/
and:
includes/hooks/admin/categories/

- that you have correct updated your store:
hook registers and calls in: admin/application_top.php, template_top.php, templatee_bottom.php and categories.php

Edited by raiwa
Link to comment
Share on other sites

relevant are the tabs at the top. Attributes manager has its own tab now

Link to comment
Share on other sites

  • 4 weeks later...

Just installed this and it's causing the font size etc on product screen to drop.

Product Screen

image.png.afc7682750787fd31204f9887a1a9a1c.png

Any other 

image.png.d7f81d8f07975febca5cbe0d3e5a06bc.png

The page is not zoomed in or anything. I have installed other addons but the product page was right until I installed this one.

Store uses Phoenix 1.0.4.0

Edited by LeeFoster
Link to comment
Share on other sites

29 minutes ago, LeeFoster said:

I found the cause of the issue Line 8 in the attributeManager.css file


#attributeManager td,div {
	font-family:'Trebuchet MS' Arial;
	font-size:12px;
}

 

This css should only affect the attribute manager tab content itself.

The effect you discribe has been observed also when adding other addons/modifying things. It should disappear reloading the page.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...