/    Sign up×
Community /Pin to ProfileBookmark

Javascript not calling up Menu for ecommerce site when "www" not entered

So i have a eCommerce site on Big Commerce (a very popular site used by many).

I hired a guy to customize the menu in which he used javascript. I cannot get a hold of him to do the job so i am in need of some help

[url]www.osicctv.com[/url] is the address when you type the address like this [url]http://osicctv.com[/url] (without the www) the menu you made does not show up.

I believe this has to do with the PagesMenu.html in the Panles area on line 37 ( see below)
———————————————————————————————-

//$(‘#newMenu’).html($(‘#Menu’).html());
$(‘#Menu’).load(‘%%GLOBAL_ShopPath%% .SideCategoryListFlyout ul:eq(0)’, function() {


———————————————————–

Maybe there is a way to write it so it shows with www or without www?

thanks for your help people!

to post a comment
JavaScript

0Be the first to comment 😎

×

Success!

Help @brandon123 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.16,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...