Hello everyone! I am a new developer with Netsuite...
# suitecommerce
t
Hello everyone! I am a new developer with Netsuite and am currently having a bit of an issue implementing an extension. Specifically, implementing a theme override with my extension. I have built an extension (using 19.2 tools) to give my website a custom purchase form on the PDP, in the Overrides directory I have altered the product_details template, removing most of the content on the right hand side and adding my own element with a custom data-view which I am registering in my extension module. I have managed to get this working in my local environment but when I deploy and activate it, there is no change to the live site. Default purchase form is still there. Is anyone able to offer any guidance? I have looked through the SC developer site and followed the instructions for extension overrides in a theme (I couldn't find anything on theme overrides in an extension) and tried a few other things that I thought may work but still nothing.
s
Firstly, I would suggest doing our training. Secondly, the mechanism you need to use is edit your site's theme. All your site's templates are stored there, so you just make your change in the template, deploy and activate your theme. The override mechanism you are using is to override a template that has been added by an extension, but the template you are trying to change is a core template.
m
Welcome to the magical world of ns!
👍 1
t
Thank you @Steve Goldberg. I was aware that you could alter a theme's templates using theme tools but then I learnt of the overrides for extension templates and was hoping it would work in reverse. This would be a nice addition.
s
We disagree. We think it would likely lead to customisations that are difficult to maintain.
👍 1