Liquid, JavaScript, themes, sales channels
Hi Guys!
We are looking for some help.
So we decided to change our template - we have a custom code made for us, but we don't know how we can transfer this to the new theme.
The "Upload now" button is not working on the custom product page.
We had it like this: https://2rui06pp9yw0o41p-59999879346.shopifypreview.com/collections/custum-kits/products/custom-diam...
Can someone please help us? We are kinda stuck right now.. 😞
Thank you!
Hi. Just in case it's helpful.
Do you still have the code made for you? When you change, reinstall or upadte your theme you need to replace all custom codes you made again in the template files. So, in case you have it, you need to find the file it which it was places in the previous template, and try to mirror the same in your new one. It's something only you can see in the backend of your store.
hey under your theme settings in the sales channel you have to click actions and under actions, you will see edit code...
once inside the edit code feature you will see a blue mark as pictured which means someone changed your theme. you have to click on that file once inside that file you will see on the left-hand side something called Older versions as pictured and click on the version that is does not break your site! once that is done, you can click back to actions duplicate you should always backup your theme! feel free to message me directly for extra help
If the custom code was paid to be made properly it should be in something like a snippet with comments giving some sort of basic instructions of usage.
Looking at your reference url it's hard to tell what's going on as the new theme has many console errors, and liquid errors in the html from missing files.
This can be difficult to quickly fix if you do not have a theme handling process in place either with documentation or external version control.
The general process is get an original version of the old theme then diff it against a modified version of the old theme. This can also be done through version control with git.
This will give a list of changes that then need to be organized and ported to the brand new themes structure.
The new theme should be checked in it's unmodified state for errors that may complicate any such effort.
Save time & money ,Ask Questions The Smart Way
Confused? Busy? Get the solution you need paull.newton+shopifyforum@gmail.com
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Buy Paul a ☕ Coffee for more answers or donate to eff.org
Are you ready to take your business to the next level? Look no further than the latest ...
By SarahF_Shopify Apr 15, 2024We’re keeping the ball rolling to make sure you’re always ahead of the game. So buckle ...
By JasonH Apr 8, 2024Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024