Jump to content
Latest News: (loading..)
Nimmit

AJAX Attribute Manager support

Recommended Posts

4 hours ago, PiLLaO said:

I just find that console shows this error:


Refused to set unsafe header "Accept-Charset"

from admin/attributeManager/javascript/requester.js:64


this.commInterface.setRequestHeader('Accept-Charset',e);

 

Just comment out or remove that line and try

Share this post


Link to post
Share on other sites
23 minutes ago, BrockleyJohn said:

Yes, that header's not allowed (probably a security risk) see https://dvcs.w3.org/hg/xhr/raw-file/tip/Overview.html#dom-xmlhttprequest-setrequestheader

but a browser will probably just ignore it.

Is anything not working?

No, all seem to works correctly.

 

19 minutes ago, raiwa said:

Just comment out or remove that line and try

Ok, but will be a good idea to update addon with this line commented?

Thanks to both :)

Share this post


Link to post
Share on other sites
Posted (edited)

Hi Raiwa,

Thanks for the update.
I Always used this contribution in my 2.2 shops, but in the 2.3.4BS version, it shows me the full admin page including menubar of the edited product instead of the attribut set form.

Just to rule out influence of other contributions, I've also tested it with the basic (clean) 2.3.4BS version of categories.php which just gives the same issue.

Any ideas?

Edited by cDGo IT Consultancy

Building great webshops for customers with opensource backoffice application for a robotic accounting solution including POS
Migrating osC 2.x webshops to 2.3.4.x
osCommerce dedicated hosting/colocation + turnkey solutions + building addons per request

Share this post


Link to post
Share on other sites

After stripping down everything, but this attribute form, it now shows the index.php/dashboard.
So it must be in this contribution it self where there's a capture of the data.


Building great webshops for customers with opensource backoffice application for a robotic accounting solution including POS
Migrating osC 2.x webshops to 2.3.4.x
osCommerce dedicated hosting/colocation + turnkey solutions + building addons per request

Share this post


Link to post
Share on other sites

Hello i get an german umlaut problem (ä ö ü)

In the Dropdown it shos a (?) but underit it is correct.

do i have to set use_charset=utf8 somewhere?

 

Greetings

Unbenannt.png

Share this post


Link to post
Share on other sites

oops sorry, i had it in my notepad but forget to post.

1.)  osCommerce Online Merchant v2.3.1
2.)  standard osCommerce
3.)  existing store
4.)  PHP Version 5.4.45

 

Share this post


Link to post
Share on other sites
Posted (edited)

Even the character encoding for the language files is already set to utf-8, full utf-8 support is not introduced until OsCommerce version 2.3.3.4.

So you may have your data in the database still encoded in ISO.

You could try to install this add-on:

https://apps.oscommerce.com/KMwhZ&tim-s-osc-solutions-iso-8859-1utf-8-du

otherwise, if you have the problem only in the templates drop down, check the character encoding for the templates table and change it to utf-8 if its ISO or viceversa.

 

Edited by raiwa

Share this post


Link to post
Share on other sites

Hi, This works great with frozen..even with Attribute weight addon...But when I am trying to use the weight of ATTRIBUTES on edit_order.php, The shipping does not calculate accordingly. It does not calculate the attribut weight only shows the base weight for every attribute.

Any help would be deeply appreciated

Warm Regds

Radhavallabh 

Share this post


Link to post
Share on other sites

@raiwa and whoever was the original developer...

Where has this addon BEEN all my life?!?!?!?

Idea, what would it take to make an AJAX specials management addon? Quickly looking some of it could be shared... could it not?

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

×