I guess that’s because e-commerce has some specific JS that doesn’t like to be optimized. If you dive into the FAQ you’ll find info on how to configure AO to exclude scripts (or CSS) from being autoptimized.
Hope this helps,
frank
Thread Starter
Lois
(@loiscr)
Thanks for the fast reply.
The problem is that i dont need to exclude the wp-ecommerce pages. I need to do the opposite.
The pages of products are showing normal code. There are no errors but it is as if there autoptimize not exist.
And i need to autoptimize that pages. Something is doing that autoptimize not “hooks” in wp e-commerce products.
I believe that the error maybe as small as edit one line of code but, where?
Can you help me please?
Hmmm … can you provide me with an example URL (here or via mail at futtta-at-gmail-dot-com)?
Thread Starter
Lois
(@loiscr)
hello, I sent the urls via mail. Have you receive them??
Thanks
Thread Starter
Lois
(@loiscr)
I have a possible solution.
In autoptimize.php line 308 I have changed the preference to 10 in the add_action.
It works!!!
Im not sure what I did and I dont know if this solution can bring a big problem. What do you think??
great find! can’t bring problems loiscr, in fact for the next release I’m going to revert to a priority of “2”, cfr. this thread.
frank