Can anyone advise where I would navigate to to alt...
# suitecommerce
n
Can anyone advise where I would navigate to to alter the template this page is using please? I'm not working with a full SCA install as such, it's the SuiteCommerce My Account suiteapp. Pretty sure it's "header_menu_myaccount.tpl" template but there's a tonne of these in the account and I'm not sure how to tell which is being used or if there's a UI navigation menu item I can use to edit it rather than the raw .tpl file (FYI - Never worked on SCA, worked on NS as a dev ~12 years)
s
SC development is more involved/complex that NS. You can't just swap out files in the file cabinet, especially as SCMA is a locked bundle.
n
Yes, I'm getting that vibe.
s
SCMA, SC and modern SCA all uses 'themes' which are pre-made and customisable using theme development tools. Unfortunately, SCMA does not support custom themes
Most presentational changes to SCMA pages use the theme editor in the site management tools, or you can write a custom extension to inject changes. It should also be possible to use extensions to upload a new layout template, but if all you want to do is change the header then you won't be able to do that with a new layout template
What do you want to change?
n
We have a customer interested in using SCMA and they want to know if it's possible to manage the page screenshotted' contents, for example remove the "purchases" menu item and the shipping block. My gut feeling was you'd edit an existing out the box template saving it as new and define <someplace> to use that template. And I'm "guessing" you need to deploy the site to update references etc to that template.
s
Purchases menu item will be hidden when you remove the customer's permissions on the custom role you assign them
👍🏻 1
If they want to hide the shipping block then you can just use CSS to hide it
n
Ok so that's implying, as I thought, there's a template possibly header_menu_myaccount.tpl ?
Problem is I have no idea how to navigate to that and searching the filecabinet it's littered with many files with tha name 😄
s
Ok so that's implying, as I thought, there's a template possibly header_menu_myaccount.tpl ?
Well, there is, but again you don't need to think about it if you want to make the changes you described
And, again, you can't just navigate to the file cabinet and change it. That's not a customisation strategy for SCMA
Again, you use the site management tools to inject CSS
n
"the site management tools" links please?
Specifically, for CSS snippets, you want to drop an HTML block into the top 'all pages' section and then just put a style tag in it
n
Seeing a lot of this kinda page and I'm lost. Appreciate it's like talking to a child talking to me about this, I don't really need to know great detail just how to get to the point of editing the templates and having them display in the site basically 😄 as a PoC.
s
I'm sorry, I don't know how many more times I can say this: you can't just edit the templates of an SCMA site
n
Respectfully, I understand that, I'm not suggesting at this point I'm just going to jump in the file cabinet, you've explained I need to use SMT, I'm childlike with SCA not stupid. I may be using the wrong terminology, I may be over simplifying with the language I'm using. Your help is appreciated but also your patience. I'm looking at the SMT docs you linked, very useful thanks. SMT is enabled in the account but this "Log In to SMT for the First Time" doesn't actually explain where / how to do that simple thing? Login to Ns?
Ok my bad, read further down. I see where i need to navigate.
Also on my list to ask is "is it possible to embed SCMA into their own site". I believe they want to allow customers to use the functionality without having to jump away from their main site since they do not use SCA, they just want the functionality of SCMA. (they feed all their transactions / customers etc in to NS already just don't have a nice way to expose the data in NS to customers on their site) If you can answer that Steve that would save time going through support and be appreciated. 🙂
s
Apologies if it seemed like I was treating you like you’re stupid, that wasn’t my intention. Sometimes people ask me the same question over and over hoping I’ll give a different answer each time, and it seemed like you kept bringing up changing the template while not understanding my answer. And yes you can embed an SCMA site in another site. See the configuration options around framing: https://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/section_159051175325.html#Security-Subtab
n
No harm no foul. 🙂 My previous comments about templates where continuations of my thoughts, you probably didn't appreciate that. SMT- Logging in and then pressing escape and logging in is "counterintuitive", but I got there 😄 I found an article on SuiteAnswers about hiding payment methods : https://suiteanswers.custhelp.com/app/answers/detail/a_id/97626/loc/en_US I suspect I would need to do something similar to hide other items / menu options... Thank you for confirming it's possible to embed the site and providing a link, most appreciated and thoughtful. At the point the suiteanswers says "Drag CMS HTML content to the MyAccount page" it's not letting me, so there's something else at play I'm blind to but the point is, (presuming I'm understanding correctly) a) it's possible to configure the pages b) there's guidance someone, perhaps more comfortable working in a web environment can follow c) I'm able to show that person the articles and give them a starting point Thank you.
s
If the HTML content is greyed out it is possible that you have not installed the core content types bundle and activated it on the site
n
Actually, i just had to reload the page 🤷🏻‍♂️. Thanks for your help.
netsuite halo 1