Prestashop theme version naming - prestashop

Can two versions of the same theme exist at the same time?
I would like to have same name but different versions in config.yaml. It seems to me that this is not possible since theme's name and folder must be same.
It's mainly when doing local theme development but on live production website that would be useful too since you could go back to previous version quickly if something goes wrong.
How to generally avoid naming themes like my-theme-1-1-3?

You do not need different versions of the same theme with the same name.
What you need and what is recommended is to have one or more child themes.
The parent stays the same but you extend and change it using whatever name you want (and a separate directory for it).
You can create any number of child themes all having the same parent theme and inheriting from it.
See here Prestashop child themes

Related

How to overwrite the theme in shopify

Can any one help me on how to overwrite the theme in Shopify. Is there any option to create custom child theme under main theme and write custom codes into the activated child theme? Or there is another way to customized the theme.
There is no concept of child themes in shopify. Shopify refers to copies as duplicates, and a theme is either published or unpublished.
Before editing a themes structure make a duplicate and this is generally what should be worked on instead of the published(live) until all changes are done and the theme previews look ready.
If used to version control software(git) there are tools to automate the upload/download so you can work with your preferred editor locally.
So If you want customize the theme then just create a duplicate copy of the main the theme and do your all changes in the duplicate theme and see the all changes using theme preview option. After completing all of the changes, you can publish the duplicate theme and it will work as an active theme.

How to change in template through the Shopify application

I am trying to write a Shopify application and I want to add a section to the product page when the store owner installed my app. I tried this by adding a custom script tag in the shop template and this tag will load and inject my desired HTML into the page. It's work but it needs to force the store owner to change the product page template and its not user-friendly.
I see some apps in the Shopify app store that can change the product page after you install them without needs add any part to the product page template. How they do this work? I can't find the correct way in the Shopify documents.
You can change the Shopify theme of the shop using The API for Assets:
However as drip mentioned this is not a good idea:
If you change the theme auto-magically via code, you are looking for trouble. A lot of things can go wrong - simply you cannot cater for all themes and their changes over time! So you could possibly leave a broken page after the change. The e-shop owner won't be impressed! Actually a lot of the 1* reviews of apps are for that reason!
What would happen if the eshop owner removes your app? He won't know what code to remove.
So, most apps ask the user to add the app code. They provide detailed instructions of course.
Fyi, another problematic approach is the following:
Some apps may attempt to change the DOM "on the fly", by first locating an existing DOM element (a lot of theme-specific if statements to do that with any degree of success) and, then insert the app's DOM elements.
That's very messy and problematic as well, but at least you do not risk ruining the owner's theme files. In the worst case he can uninstall your app and he 'll be ok.

Creating a custom BigCommerce theme from scratch, without selling it in the theme store

A client of mine wants to create their ecommerce site with BigCommerce as back-end. BigCommerce has lots of theme's available in their theme store. This client however does not want to be just another website using a certain theme, but have a theme unique to their company. You can build your own theme which would use your own config.php, something they use to set global variables in their templating engine.
However as far as I can read on their developers site the only way that you could create your own theme is if you then start selling it in the theme store, which of course would allow other companies to adopt this same theme against a certain price. Something my client doesnt want. They want to be unique.
So my question is: Can you create a custom bigcommerce theme from scratch, without selling it in the theme store?
Absolutely, however you can set up a config.php file and all that. You can simply start with any theme available in the current theme store, download the HTML, CSS, JS, Image, etc files and customize them to your liking. These are completely open ended.
You won't really miss anything this way, the only thing the config file does is set the default store settings when that theme is applied such as menu depth, fly out menus, display of weight, etc. All that can be adjusted manually by you or your client in the store settings!
So to answer my own question directly: No, you cannot create a theme from scratch without being a parter of bigcommerce and making your theme available in the theme store.
You can get close as #TheEks describes by simply choosing a theme (preferably the blueprint, available when going in to dev mode), and then overwriting whatever contents the html files have. You will need to check for updates to the bigcommerce theme yourself and implement those in your code. You will not be able to remove theme files, if you no longer use them, from the webdav server, only revert them to their original state. You can just ignore them of course.

Loading dynamic theme liferay

There are two themes, I want to change dynamically from portal_normal.vm or from java in doView function. is it possible?
I have two domains with only one portal and I want to change depending url.
portal_normal.vm
is a theme related file description.
You can create two communities ( or two pages) and assign a theme for every one of them.
There will be a default Theme associated for every Site and it will act as a Default Look and Feel for all Layouts inside a Site/Community, if you have not updated it through Layout.
If you want to use a different Layout at run time, Just check the LayoutLocalServiceUtil class.
Check http://digitalfireflymarketing.com/how-select-multiple-themes-liferay for details

How do I switch the theme used on a Sitefinity based website?

We have a Sitefinity 3.2 site in production and the users want a whole new look and feel. Upgrading is not an option.
I have created new templates for them but they will need to go into the site and create all new pages using the new templates. This is a problem because they want the current site to remain unchanged until they are done - then they want to instantly switch over.
One problem that I see already is that pages will not show up in the menu control until they are published.
I am very new to Sitefinity. Is there a standard practice for doing this?
You don't need to re-create all of the pages to change the look and feel; simply change the template assigned.
This video shows how to work with themes and templates.
I'd think that changing the theme of all the templates late at night should be "instantly" enough for most people. :)