How do i modify BigCommerce Files from my my pc? - bigcommerce

I am working on a BigCommerce website and i'm using the online editor to modify HTML files but i can't modify js files because they are read only files
How can I work on my pc and sync modifications with the website .???

if you are modifying theme files, and you are using a Stencil theme, then you can download the theme's files, edit them locally and add them back to the site.
See:
Installing Stencil
Theme Documentation

Related

shopware app doesn't work in test environment without running build-storefront.js from console?

I have an app for shopware 6 which has a javascript file.
After i upload it to my shopware6 site, install and activate it, it doesn't work unless i run the build-storefront.sh from console.
Is there a way to make the app work without running build-storefront.sh ?
I tested it with shopware 6.4.14.0
All assets like the javascript of your app need to be uploaded inside your app, so the app automatically works without the need to rebuild the storefront after installing your app.
Therefore to create a zip folder for publishing or for uploading you should always execute the build-storefront.sh script, either locally or in a CI step. That command should build all the necessary assets and put them under the Resources/app/storefront/dist folder inside your app.
Please ensure that that folder is included in the zip file you upload to your shop.

Shopify missing snippets and sections

I am using themekit and theme watch, but im my themes in Shopify some snippets and sections are not migrated. There are no error in this files. If I create the file manually in Shopify theme it works. What could be the problem?

shopify cli: theme deploy changed file only

using shopify cli, theme deploy will push entire directory, which is slow. I changed a few files and only want push them to shopify.
is there any theme deploy changed files only cmd?
Without config.yml setup
theme deploy --password=[your-api-password] --store=[your-store.myshopify.com] --themeid=[your-theme-id] --env=[environemnt-name] [path-to-file/file-name]
EXP:
theme deploy --password=AFSJASFLDJ32R424 --store=test.myshopify.com --themeid=3242435425 --env=development assets/test.min.js
With config.yml and environment setup
EXP: Deploy One file
theme deploy --env=development assets/test.min.js
EXP: Deploy Mutiple Files
theme deploy --env=development assets/test.min.js assets/test-2.min.js
config.yml example configurations
development:
password: 1232134124124adfasd32423
theme_id: "93204212432"
store: test.myshopify.com
If you use theme kit, you can just use upload command. It is very similar to shopify-cli.
theme
Theme Kit is a tool kit for manipulating shopify themes
Theme Kit is a fast and cross platform tool that enables you to build shopify themes with ease.
Complete documentation is available at https://shopify.github.io/themekit/
Usage:
theme [command]
Available Commands:
bootstrap Bootstrap will create theme using Shopify Timber
configure Create a configuration file
deploy deploy files to shopify
download Download one or all of the theme files
get Get a theme and config from shopify
help Help about any command
new New will create theme using Shopify Timber
open Open the preview for your store.
remove Remove theme file(s) from shopify
replace Overwrite theme file(s)
update Update Theme kit to the newest version.
upload Upload theme file(s) to shopify
version Print the version number of Theme Kit
watch Watch directory for changes and update remote theme

Custom Branding for application

I am having trouble with branding the application in cumulocity.
I tried to test branding by cloning the cockpit app to use our Branding.
If i see in the manage application window i am not able to customize the branding/logo. I don't see the option to customize the branding Although i removed the cumulocity branding plugin from the app now I only see the name of my application as the logo.
In the plugins window i saw only cumulocity branding, nothing for custom branding. Can you please correct me if i missed something?
Here is how I would do it. Clone or download the cumulocity-ui-plugin-examples from the cumulocity repository then:
Go to plugins folder
Find myBranding folder
Now go to the img folder and changes the logo-main.svg and logo.svg for your desire logos. Also, you can check the colors.less file in the variables folder and change the colors of your application UI.
Now go to the main folder (where you download the repository) and run c8y deploy:plugin myBranding. This command create a .zip file of the plugin.
Next, go the administration app in Cumulocity , find the app your cloned and click on edit, then go to the plugins tab. There you can find the list of the plugins that your app is using.
Find the Branding: Cumulocity plugin and click on remove like .
Next, in the same menu, click on add plugin.
Look on your computer for the .zip file you create on the 4 step and load it.
Click on save.
Open your app.
Note: If you haven't installed the c8y tool and assuming you have installed nodejs , just run npm i cumulocity-tools -g to get the tool. See this great documentation for more info.
You can find a documentation related to this in: branding guide.
Hope this helps!

Template edit option not found in back end after apply stencil theme : Bigcommerce Stencil

I have developed stencil theme and apply on live store.
After apply stencil theme, Not found template edit (edit html/css) option in back end like below URL:
https://support.bigcommerce.com/articles/Public/Accessing-and-Customizing-Template-Files
Can any body help me ?
In the link you provided, it denotes that those instructions for edit html/css options are only available in browser for blueprint themes at this time.
Stencil themes are uploaded as archive (.zip) files and do not interact with webdav in any way.
Support is still pending for downloading of themes, which would be required in this case since you are using a theme from the marketplace.
For info and updates, review: https://stencil.bigcommerce.com/docs/new-and-pending-features