Cloning an existing shopify site to a new site - clone

I want to be able to clone an instance of an existing shopify site into a new shopify site. (This is in order for me to create a test / staging environment) Are there are any tools or scripts out there which could help me achieve this? The clone should include items such as customers and products etc. The only method I could find was in the official documentation and seems to be a manual export / import type operation.

You can export your full theme into a zip file. Customers, products and orders can be exported too and imported to the new Shopify site.
Settings: domains, payment gateways and other minor parts, you'll need to add them manually.

Related

Shopify theme license

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

Magento 2 - Transfer cart items from API to web store

I am creating a complex shopping configurator app that allows a user to customize and visualize a product which consists of multiple store items. Once they confirm their purchase, I iterate and add all of the selected products to a guest cart using the .../rest/V1/guest-carts API endpoint.
I would now like to forward the user to the store checkout to continue the purchasing process from the web store, e.g. https://store.url/checkout/cart. Of course, that basket needs to be populated with the items that were added via the API. I've looked through the documentation but not been able to find
anything relevant but I wonder if I can pass over the store_id or the quote_id and the relevant products be inserted accordingly?
Not sure if this is still relevant for you but, I was also working on a similar problem and came across this plugin for Magento 2. Basically what this plugin does is use a customer's token and a quote_id and creates a temporary session on the Magento2 Store and then redirect the user to the checkout page. This was a starting point for me, as I had to customize this plugin further to suit my requirements.
Hope this helps.

Transferring / Migrating an entire Catalog in Magento

I've been trying to transfer the entire catalog from one Magento server to another and I've been experiencing some significant problems.
I can get most of the catalog data across, but I always end up missing something like product swatches, product categories or a product's custom options. To get these across I then end up building my own scripts that queries Magento, writes the data to a CSV file of my own design, and then write another script that will add this data to the other server.
Ive been asking the other developers in house, and apparently this is how they do every migration. They spend ages building lots of custom scripts just to transfer the catalog across, and apparently the different Magento sites are so different they have to build entirely new scripts when they transfer the next site.
Is this a common experience for everybody?
I feel like there must be a better way. Does anybody know of a better way to transfer the entire catalog (not just the products, but everything) to another server? Can we not just copy across the entire SQL Database?
You can export the products using Magento export wizard by going into System -> import/export ->export
Then from export settings select Entity type Products and Export File Format as CSV
After getting the CSV file you can import the whole catalog using the Magento same wizard or You can use data flow.
The other option around to import bigger catalogs in Magento is to Use Magmi.
http://wiki.magmi.org/index.php?title=Magmi_Wiki
I hope this will help
There are many ways you can migrate your magento store from one server to another.
If you want to transfer complete magento site, then you should try with database import/export. Its easy and fast process. You can follow Site Ground tutorial for this
If you want to transfer only data such as product, catalog, customers, orders etc, then you can try magmi importer its easy and fast for importing data. Also you can try magento data flow profiles as well.

Best method to import products, customers and Orders in Magento

I am working on a new magento website whose design integration and functionality is almost complete. Now before I make the site live I need to import all my existing site data to my magento site. My old site has around 1000 products and is not a magento site. So I will get an excel sheet but its not in the format of magento excel sheet. So when i compare the current excel and create a new excel sheet for magento its very time consuming. So what is the best and speedy method to import products to a magento site. Anybody know please share the idea. It will be very helpful.
To import Products & Customers from another source. we have three option:
export data in CSV compatible with magento and import in magento.
you can use third party paid service for data migartion if it is supported by them. http://www.shopping-cart-migration.com. If you can afford this paid service then it is best time saving solution.
you can create a custom script to import data from csv that is not compatible or direct from external db.
one good product import script url as follows: http://www.fontis.com.au/blog/magento/creating-magento-products-script
For importing Order in magento I will suggest you to use third party service.

Magento 1.7.0.2 custom payment methods not showing on frontend checkput page

Magento 1.7.0.2 custom payment method not showing on front end checkout page
I am trying to create a custom payment method to connect to an external payment provider.
But no mater what module I am building or using, my new payment method will not show on front end, in the checkout page.
I have tried the create payment module tutorial at:
http://www.magentocommerce.com/wiki/5_-_modules_and_development/payment/create-payment-method-module
and the really great tutorial at:
http://www.junaidbhura.com/how-to-make-a-custom-magento-payment-extension-for-an-external-gateway/
The modules are built and I can see and configure them on admin panel.
But the new payment option will not show on front end.
Following some tips I found on the topic I have tried:
Making sure that the currency is set correctly in both modules and
store.
make sure that allowed countries are allowed in module
I am working with cache disabled and just to make sure flushing it every time a I
change something, (either through system or directly at var/cache folder).
I have disabled two other modules I previously installed:
CurrencyManager & Skipstep1.
I will greatly appreciate any help, as this is the only thing left for me to get my store online :), and I could not find a solution for a few days now.
Thank you

Resources