Are there any instructions for upgrading SC to 202...
# suitecommerce
w
Are there any instructions for upgrading SC to 2020.1.0? I updated (in sandbox) SC, SCEM, and SC Config bundles. Then I edited and saved configuration, reactivated extensions and edited and saved the Web Site Setup, but the only page that works is the home page, and all of the commerce categories are missing. My fear is that when these bundles get automatically updated in production, my site will be broken.
s
🤔
Are there any errors in the developer console or SSP application log?
w
This looks like the big one: ``Failed to load resource: the server responded with a status of 500 (Server Error)``
s
Depends on which resource it is talking about
w
shopping.environment.shortcache.ssp:1
I don't think I have the CDN on in my sandbox
Also, I'm running an expired certificate, if that makes a difference
/app/site/hosting/scriptlet.nl?script=customscript_scs_loggerendpoint&deploy=customdeploy_scs_loggerendpoint:1 Failed to load resource: the server responded with a status of 500 (Server Error)
s
if I had to guess the 500 error is likely caused by a bad certificate
the sourcemap error is not a problem
if you're not using APM for commerce (which you're probably not) you can disable it and that would kill one of the errors
but it might not explain why the commerce categories are not loading
w
Well, let me set up the new cert that comes with 2020.1 and see if that makes a difference
I changed my cert to automatic in the domain setup. That will take some time.
s
Yeah it will. Bad cert is the most obvious problem right now; once that's fixed we can rule it out.
w
thanks steve!
OK, so updating the cert helped with the commerce categories. Our static pages and commerce categories now work.
BUT
I am having issues with PDP's now
Here is the function: `
Copy code
parseCurrecy: function (amountToParse) {
            if (!!this.get('haveSameCode')) {
                return SC.Utils.formatCurrency(amountToParse.toFixed());
            }
            var parsedAmount = SC.Utils.formatCurrency(amountToParse.toFixed(), ' ').trim();
            return this.get('goalCurrencyCode') + " " + parsedAmount;
        },
`
Apparently SC.Utils is undefined
s
Looks like an issue with the Shipping Bar extension
Can you check whether there is an update for this extension first, and if so, update it. If not, can you test whether deactivating this extension fixes your site.
If there is no update and deactivating it fixes your site, please raise a support case. It appears the devs for this extension have relied on 
SC.Utils
 in their code, which is no longer available in 20.1.
w
Ah OK. I do have an older version of the shipping bar on sandbox, I believe. I will update.
Also, I tried to update the Base theme bundle, but it errored out.
Script: SuiteCommerce Base Theme Bundle Install Type: Bundle Installation Function: afterUpdate Error: JS_EXCEPTION org.mozilla.javascript.EcmaError: TypeError: Cannot read property "parent" from null (/SuiteBundles/Bundle 317001/CommonUtilities/UtilsSS2.js#53)
s
OK, for now, just try updating the extension
One problem at a time 😉
w
LOL Reactivating now with the new version of shipping bar
Yes, that worked. I now have PDP's back.
s
awesome
with regards to the base theme ... I thought you used a custom theme, so you don't need to use the base theme?
w
Yes, you are correct. I just thought that maybe my theme was crashing it, so was gonna test with the base
s
🙂
So, is everything a-ok?
w
So far. Now I have to move my production theme to sandbox to test in 2020.1
s
👍🏻
w
I assume I'll need to download the new theme tools?
And upgrade node
s
That's probably the right move. Check the version of node the docs recommend
w
Yup 12.14.1