Shopify theme license - themes

I build a new Shopify theme and want to sell it in the market but before that, I want to make sure that no one can use it without purchasing the theme license. How I can do this?
Thanks

Its possible but for that you need to setup your our server and create a database.
In the database create a table and add the following feilds.
domain, customer_name, customre_emaIl, store_URL, theme_status, lic_key
Then in the theme code you need to add some JS code and trigger AJAX call to your server with the store info and unique License key to validate the theme.
Now the trick is to hide you JS code in the theme. There are several methods i.e.
Use "eval()" function
Unicode
This is the basic idea behind the Licensed theme. For your reference the following theme is using this technique (I already worked on this theme that's why I know) :
Shoptimized
Thanks and best of luck

Related

How to add simple custom form to magento admin panel

First of all let me clear what i want to do, here is my problem. I have my magento project running on server. Now my client is asking me to add a module like this, please have a look
http://www.chinaglaze.com/Try-On/index.html
Also he want that he can manage images and color codes from the Magento Admin panel. I have not much experience in magento extension development.
Please provide me reference if there is any magento extension already exist so that i can use that other wiase how to do it.
If you want a Magento frontend view which is admin manageable (with your own custom database tables) try this piece I wrote: link. Hope it suits you.
You should add a custom module to add that.
Check this link
http://www.magentocommerce.com/wiki/5_-_modules_and_development/0_-_module_development_in_magento/how_to_create_an_admin_form_module

How to apply a custom option to all products in Magento

I'm having problem with my new magento site, I want to apply a custom option to all the products on my site. Basically I want to add the custom pricing option for large sizes (my site is about motorcycle leather jackets etc), so if someone chooses a size that requires extra amount, there should be an option for that. I can apply this option to one product at a time. Does somebody know how to apply this to all products at one? Here's the link for my site: http://www.lopeholt.com
Thanks in advance.
If you want to add custom options to multiple products,same functionality is provided by following extension which could help to save your time to assign custom options to multiple products.
You can also set custom option for different sizes(large sizes).
http://www.magentocommerce.com/magento-connect/custom-option-manger.html
If you want to do this completely for free without relying on extensions you can use Magmi. It takes a little while to get used to but it allows you to import almost anything for your product database - here's the link to the Magmi tutorial:
https://understandinge.com/course/importing-products-magento/
Link to the Custom Options upload instructions:
http://wiki.magmi.org/index.php?title=Custom_Options#File_to_upload_field
There's no simple hack to do this.
However, there is a free extension to copy custom options to multiple products which could help you to save lots of work:
http://www.magentocommerce.com/magento-connect/medma-copy-delete-custom-options-on-multiple-products.html
Update: extension isn't free anymore.

Is it possible to use Twitter Bootstrap to create a Magento site?

A client wants a Magento site done, and I have never used it before. I thought, "Sure, I'll create a standard site using Bootstrap and just query the database for the products". Now that I've been looking into it, it looks like the only way to use Magento is by creating a Theme which doesn't look to be Bootstrap friendly.
Please someone tell me that creating Themes isn't the only legitimate way of creating a Magento site.
Some starting points:
http://www.bootstrapstart.com/portfolio-type/bootstrap-magento-theme/
http://magenthon.com (info and code) or demo here
https://github.com/cvaldemar/magento-bootstrap (doesn't seem too active though ?)
If this is something you are planning on doing yourself, the second link looks like a promising candidate to download, reverse engineer then cusomise!
Good luck
https://github.com/webcomm/magento-boilerplate
http://www.webcomm.com.au/blog/2013/09/introducing-magento-boilerplate-a-twitter-bootstrap-3-powered-html5-mobile-first-starter-theme
Newest, Magento 1.8 supported
Yes, Try this Magento Bootstrap framework but it's unstable version.

How to select theme based on URL in Orchard CMS

Suppose, I have a site named test.com and it has a selected theme of-course. Now I have other tenant site named alpha.test.com for which a theme is used also.
But I want to select the theme for the alpha.test.com from codes where orchard used to select theme. How it is? Please help.
My another question is how to select different theme for different controller or actions in Orchard CMS.
Just implement your own IThemeSelector and use a higher priority than the default one. Do not alter the existing one like has been suggested.
I think these links may help you:
https://orchard.codeplex.com/discussions/359115
http://weblogs.asp.net/bleroy/dynamically-switching-the-theme-in-orchard
There are no tables containing installed themes in Orchard but Themes_ThemeSiteSettingsPartRecord table is used to store the record for current theme only. If we want to select multiple/another theme based on URL then
Ans1 & Ans2: Specify the currentThemeName variable with desired installed theme Name in GetTheme method of SiteThemeSelector class located in Orchard.Themes/Services. If you want to apply different theme based on URL then set currentThemeName inside logic and URL may retrieved from context.HttpContext.Request.

Magento Multi Store themes calling same login.phtml file

I'm new to magento. Currently i'm developing two ecommerce sites using multi-store option in magento. Both the sites are 90% over, last night when i planned to customize the login page i was shocked. The reason is the changes made in first store login page also reflecting in second store also. The login page is curently calling from
frontend/default/default/template/persistent/customer/form/login.phtml
Is it possible to give any custom login page? PLz guide me magento experts......
Please update your post with your frontend/ folder structure down to each theme template folder. It might be that you don't have a copy of login.phtml in the second theme. Moreover you should follow templates best practices as:
Always create for a new shop different packaga. So not
frontend/default
but
frontend/yourcustompackage
Always have default theme left as much untouched, as possible. So in the
frontend/package/default
Should be some basic changes and rules of your package. It means for example in the putting reset.css for all of your themes. Or something like this.
As for me, each store view should have own theme. So, for example, storeview1
frontend/package/storeview1/
There you copy and change files specific for this theme. So, for example, in default you might have login.phtml. But you want storeview1 to have another login.phtml and in storeview2 it should be the same as in default. Therefore you copy the login.phtml from default to storeview1 and change it there. Don't forget to change package and theme in System->Configuration->Design. Package should be change for whole shop and theme should be specified for every store view or left untouched for default.
P.S. Magento theme fallbacks
P.P.S. Try this tutorial or google another one
P.P.P.S. I hope, you got the answer for your question.

Resources