Post by stefg » Sat Mar 12, 2022 2:31 am

Hello,
Tracking Link Generator does not work when System > Settings > Server > Use SEO URL's is set to YES.
Tracking link generator box on index.php?route=account/tracking does not show a dropdown list of products when SEO URLs are active.
I am using OpenCart version 3.0.3.2.
Does someone know if there is a fix to this issue or there maybe other solution.
Thank you in advance!
Last edited by stefg on Sat Mar 19, 2022 4:02 pm, edited 1 time in total.

New member

Posts

Joined
Fri Oct 18, 2019 7:25 pm
Location - Usa

Post by straightlight » Sat Mar 12, 2022 7:58 am

stefg wrote:
Sat Mar 12, 2022 2:31 am
Hello,
Tracking Link Generator does not work when System > Settings > Server > Use SEO URL's is set to YES.
Tracking link generator box on index.php?route=account/tracking does not show a dropdown list of products when SEO URLs are active.
I am using OpenCart version 3.0.3.2.
Does someone know if there is a fix to this issue or there maybe other solution.
Thank you in advance!
Posted in Bug Reports. Not a bug. Feature request.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by stefg » Sat Mar 12, 2022 11:12 am

straightlight wrote:
Sat Mar 12, 2022 7:58 am
stefg wrote:
Sat Mar 12, 2022 2:31 am
Hello,
Tracking Link Generator does not work when System > Settings > Server > Use SEO URL's is set to YES.
Tracking link generator box on index.php?route=account/tracking does not show a dropdown list of products when SEO URLs are active.
I am using OpenCart version 3.0.3.2.
Does someone know if there is a fix to this issue or there maybe other solution.
Thank you in advance!
Posted in Bug Reports. Not a bug. Feature request.
When System > Settings > Server > Use SEO URL's is set to NO then Tracking link generator box on index.php?route=account/tracking does show a dropdown list of products.

What should be the normal behaviour of the Tracking Link Generator. When SEO URLs are active it does not work at all.

New member

Posts

Joined
Fri Oct 18, 2019 7:25 pm
Location - Usa

Post by straightlight » Sat Mar 12, 2022 11:42 am

Check your server error logs for the account/tracking route for both actions; SSL and without.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by halfhope » Sat Mar 12, 2022 12:27 pm

Hi!

It would be helpful if you provided the website address and demo customer with enabled affiliate program. In most cases like this, tracing is needed, nothing intelligible can be said without it.

The ajax request index.php?route=account/tracking/autocomplete&filter_name=&tracking=3464564 doesn't work

My FREE extensions in marketplace. [ security | flexibility | speedup ]


User avatar
Active Member

Posts

Joined
Tue Dec 10, 2013 9:44 pm
Location - San Diego

Post by stefg » Sat Mar 12, 2022 12:33 pm

straightlight wrote:
Sat Mar 12, 2022 11:42 am
Check your server error logs for the account/tracking route for both actions; SSL and without.

Actually it seem the issue is not connected to the SEO URLs but with something else on the server. When tested on the local server (WAMP) the Tracking Link Generator works fine. However on the live server it does not work. It could be SSL or something else then. How do I check that?

New member

Posts

Joined
Fri Oct 18, 2019 7:25 pm
Location - Usa

Post by halfhope » Sat Mar 12, 2022 12:43 pm

stefg wrote:
Sat Mar 12, 2022 12:33 pm
How do I check that?
There is no specific algorithm, experience is needed here. Use Developer Tools > Network tab to trace ajax request w enabled seo url.

My FREE extensions in marketplace. [ security | flexibility | speedup ]


User avatar
Active Member

Posts

Joined
Tue Dec 10, 2013 9:44 pm
Location - San Diego

Post by stefg » Sat Mar 12, 2022 12:58 pm

halfhope wrote:
Sat Mar 12, 2022 12:43 pm
stefg wrote:
Sat Mar 12, 2022 12:33 pm
How do I check that?
There is no specific algorithm, experience is needed here. Use Developer Tools > Network tab to trace ajax request w enabled seo url.
When added manually to the link the tracking part (&tracking=tracking_code) works. However the Tracking Link Generator doesn't work on the live server but only my local WAMP server

New member

Posts

Joined
Fri Oct 18, 2019 7:25 pm
Location - Usa

Post by halfhope » Sat Mar 12, 2022 1:05 pm

stefg wrote:
Sat Mar 12, 2022 12:58 pm
When added manually to the link the tracking part (&tracking=tracking_code) works. However the Tracking Link Generator doesn't work on the live server but only my local WAMP server
The situation has not become clearer.

My FREE extensions in marketplace. [ security | flexibility | speedup ]


User avatar
Active Member

Posts

Joined
Tue Dec 10, 2013 9:44 pm
Location - San Diego

Post by stefg » Sat Mar 12, 2022 2:31 pm

halfhope wrote:
Sat Mar 12, 2022 1:05 pm
stefg wrote:
Sat Mar 12, 2022 12:58 pm
When added manually to the link the tracking part (&tracking=tracking_code) works. However the Tracking Link Generator doesn't work on the live server but only my local WAMP server
The situation has not become clearer.
Chrome Console shows the following message "Uncaught TypeError: $(...).autocomplete is not a function
at index.php?route=account/tracking:514:30"

New member

Posts

Joined
Fri Oct 18, 2019 7:25 pm
Location - Usa

Post by halfhope » Sat Mar 12, 2022 4:16 pm

stefg wrote:
Sat Mar 12, 2022 2:31 pm
Chrome Console shows the following message "Uncaught TypeError: $(...).autocomplete is not a function
at index.php?route=account/tracking:514:30"
I think you moved common.js to the footer. The common.js script contains an autocomplete function, but the file is loaded after it is called, which is why the error occurs.

You can put common.js back in the header, or delay the autocomplete call by wrapping it in

Code: Select all

$(document).ready(function(){
//autocomplete
});

My FREE extensions in marketplace. [ security | flexibility | speedup ]


User avatar
Active Member

Posts

Joined
Tue Dec 10, 2013 9:44 pm
Location - San Diego

Post by stefg » Sat Mar 12, 2022 4:35 pm

halfhope wrote:
Sat Mar 12, 2022 4:16 pm
stefg wrote:
Sat Mar 12, 2022 2:31 pm
Chrome Console shows the following message "Uncaught TypeError: $(...).autocomplete is not a function
at index.php?route=account/tracking:514:30"
I think you moved common.js to the footer. The common.js script contains an autocomplete function, but the file is loaded after it is called, which is why the error occurs.

You can put common.js back in the header, or delay the autocomplete call by wrapping it in

Code: Select all

$(document).ready(function(){
//autocomplete
});
That's it. Thank you very much!

New member

Posts

Joined
Fri Oct 18, 2019 7:25 pm
Location - Usa

Post by straightlight » Sat Mar 12, 2022 9:59 pm

stefg wrote:
Sat Mar 12, 2022 4:35 pm
halfhope wrote:
Sat Mar 12, 2022 4:16 pm
stefg wrote:
Sat Mar 12, 2022 2:31 pm
Chrome Console shows the following message "Uncaught TypeError: $(...).autocomplete is not a function
at index.php?route=account/tracking:514:30"
I think you moved common.js to the footer. The common.js script contains an autocomplete function, but the file is loaded after it is called, which is why the error occurs.

You can put common.js back in the header, or delay the autocomplete call by wrapping it in

Code: Select all

$(document).ready(function(){
//autocomplete
});
That's it. Thank you very much!
Now that the issue has been solved, please add: [SOLVED] at the beginning of the subject line on your first post.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 2 guests