Page 2 - Monthly Archives: February 2023
Unlike the other Magento 2 product types, virtual products don't have a physical representation. These can be gift cards, services, certificates, warranties, etc.
Using the admin panel to create a virtual product is not the only way. You might as well be looking for some alternatives. In this case, you can try to create a virtual product programmatically and in this article, you'll learn how to do that.
To create a virtual product in Magento 2 programmatically:
<?php
error_reporting(E_ALL);
ini_set('display_errors', 1);
use Magento\Framework\App\Bootstrap;
require __DIR__ . '/app/bootstrap.php';
$bootstrap = Bootstrap::create(BP, $_SERVER);
$objectManager = $bootstrap->getObjectManager();
$state = $objectManager->get(\Magento\Framework\App\State::class);
$state->setAreaCode('frontend');
try {
$product = $objectManager->create(\Magento\Catalog\Api\Data\ProductInterface::class);
$product
->setSku('Main Virtual') // Set your sku here
->setName('Virtual Color Product') // Name of Product
Invoices are important elements of efficient order management in Magento. This is a special type of document containing all the order details that are of great importance for both a customer and a store.
In most cases, invoices are created automatically, based on the payment methods you have. But when it comes to printing, you have to do it manually. Fortunately, Magento allows you to print invoices in more than one way. You can either print a particular invoice or print several in bulk.
So, don't miss an opportunity to learn how to print invoices in Magento 2 using this guide.
Want to send order-related documents automatically? Attach PDF Invoices and other files to the sales emails using Magento 2 Email Attachments.
How to Print an Invoice in Magento 2?
To print an invoice in Magento 2:
1. Go to Sales > Invoices, choose the order you would like to print the invoice for, and press the View link.
2. Press the Print button on the top menu and the PDF file will be downloaded.
It really
Having multiple product types listed in your store catalog helps to make the customer experience in your store more diverse. One of the many options you can provide is a bundle product. Basically, it consists of simple and virtual products that can be customized according to the client's preferences. Customers can choose the size, weight, color, etc. to get the very product they like.
Although, you can create bundle products from the admin panel creating bundle products programmatically is much faster. So in this article, you'll learn how to do that.
Use the below method to create a bundle product in Magento 2 programmatically.
<?php
error_reporting(E_ALL);
ini_set('display_errors', 1);
use Magento\Framework\App\Bootstrap;
require __DIR__ . '/app/bootstrap.php';
$bootstrap = Bootstrap::create(BP, $_SERVER);
$objectManager = $bootstrap->getObjectManager();
$state = $objectManager->get(\Magento\Framework\App\State::class);
$state->setAreaCode('frontend');
try {
$bundleProduct = $objectManager->create(\Magento\Catalog\Api\Data\ProductInterface::class);
Being constantly concerned with the Google PageSpeed (GPS) score, many online entrepreneurs often overlook the importance of blogging in their marketing strategy.
Hyvä will help you reach the maximum performance and provide the utmost experience for your website visitors. But after mastering your website speed, you’ll need something else ー drive new traffic to your website. Lots of it.
According to the latest blogging statistic around 60% of people purchase a product after reading a blog post about it. So why isn’t it being talked about more often?
A good blog helps you establish your brand voice, drive more traffic and increase conversions on your store. That being said, if you have any doubts about whether to invest your time and effort into blogging on Hyvä, we’re here to unveil them.
Top 10 Reasons Why Your eCommerce Site Needs a Blog
When asked, many know exactly why they haven’t started a blog on their eCommerce store 一 it takes too much time to see the results, it doesn’t pay
Grouped products are only one of many Magento 2 product types. What is special about them is that they consist of simple products that can be purchased separately or as a group. Moreover, grouped products don't have a price, since it's defined by its component products.
Of course, you can create grouped products using the admin panel. However, you might also be looking for a programmatic way to perform this task.
If you want to know how to create grouped products programmatically, you've landed on the right page.
To create a grouped product in Magento programmatically use the following code:
<?php
error_reporting(E_ALL);
ini_set('display_errors', 1);
use Magento\Framework\App\Bootstrap;
require __DIR__ . '/app/bootstrap.php';
$bootstrap = Bootstrap::create(BP, $_SERVER);
$objectManager = $bootstrap->getObjectManager();
$state = $objectManager->get(\Magento\Framework\App\State::class);
$state->setAreaCode('frontend');
try {
$product = $objectManager->create(\Magento\Catalog\Api\Data\ProductInterface::class);
Login as Customer App is an excellent tool if you want to log in to customer accounts in Shopify without any credentials. However, if you don't have the Multipass feature in your Shopify Plan or use the pricing plan of the Login as Customer App that doesn't provide compatibility with this feature, you need to ask customers to grant you access to their account first (Allow Assistance).
So, in this guide, you'll learn how to ask customers for allowing assistance and find an example of the message you can share with them.
To ask customers to allow assistance in Shopify:
1. Ask customers to log in to their account and find the Allow Assistance option under the Account Details.
2. To confirm that they allow you to access their accounts, customers have to enter their passwords in the Allow Assistance popup.
Once customers confirm they allow your assistance, you will see a success message and will be able to log in to their accounts with no creds required.
Note: this access will be granted
Starting from February 1, 2022, all our extensions will go with 365-day access to the new product releases and lifetime access to the source code.
In order to download the latest version of your extension and receive free support service after the 365-day period since the extension has been ordered, you need to purchase the Extension Renewal.
The Extension Renewal costs 50% of the product price.
Access to all previous versions will be available in your account, however, you will not be able to download the latest version unless the Extension Renewal is purchased.