Liquid, JavaScript, themes, sales channels
Hi, I am running my online business on laravel based website. How can I import my website to Shopify? Is it possible or not?
Solved! Go to the solution
This is an accepted solution.
Laravel Shopify is a bundle to speak with the Shopify API from Laravel applications. The following are a couple of models from the task's documentation outline:
$shopify = \Signifly\Shopify\Factory::fromConfig();
// Paginate products
$cursor = $shopify->paginateProducts(); // returns a Cursor
// Get products count
$count = $shopify->getProductsCount(); // returns an integer
// Get products
$products = $shopify->getProducts(); // returns a Collection of ProductResource
// Create a product
$product = $shopify->createProduct([
'title' => 'Adidas Shoe, Pink',
]); // returns a ProductResource
// Get a specific product
$product = $shopify->getProduct($productId); // returns a ProductResource
// Update a product
$product = $shopify->updateProduct($productId, [
'title' => 'Adidas Shoe, Rose',
]); // returns a ProductResource
// Deleting a product
$shopify->deleteProduct($productId);
I am facing the same issue in my website write my essay. You can import your products by using this code and
The package has API methods for the following high-level Shopify features like:
Analytics
Billing
Customers
Discounts
Events
Inventory
Marketing Events
Metafields
This is an accepted solution.
Laravel Shopify is a bundle to speak with the Shopify API from Laravel applications. The following are a couple of models from the task's documentation outline:
$shopify = \Signifly\Shopify\Factory::fromConfig();
// Paginate products
$cursor = $shopify->paginateProducts(); // returns a Cursor
// Get products count
$count = $shopify->getProductsCount(); // returns an integer
// Get products
$products = $shopify->getProducts(); // returns a Collection of ProductResource
// Create a product
$product = $shopify->createProduct([
'title' => 'Adidas Shoe, Pink',
]); // returns a ProductResource
// Get a specific product
$product = $shopify->getProduct($productId); // returns a ProductResource
// Update a product
$product = $shopify->updateProduct($productId, [
'title' => 'Adidas Shoe, Rose',
]); // returns a ProductResource
// Deleting a product
$shopify->deleteProduct($productId);
I am facing the same issue in my website write my essay. You can import your products by using this code and
The package has API methods for the following high-level Shopify features like:
Analytics
Billing
Customers
Discounts
Events
Inventory
Marketing Events
Metafields
As you mentioned `laravel`, I would suppose you are familiar with API and Code, you can go and visit HTTP://shopify.dev, take a look at Shopify admin API, which allows you to import products through API.
https://shopify.dev/api/admin-graphql/2021-10/mutations/productcreate
also if you already have your product in the Database, I think you can also export it to CSV, and import it to Shopify after you adjust the format.
User | RANK |
---|---|
25 | |
23 | |
12 | |
12 | |
10 |
Thanks to all who participated in our AMA with 2H Media on planning your 2023 marketing bu...
By Jacqui Mar 30, 2023Thanks to all Community members that participated in our inaugural 2 week AMA on the new E...
By Jacqui Mar 10, 2023Upskill and stand out with the new Shopify Foundations Certification program
By SarahF_Shopify Mar 6, 2023