Child pages
  • Simple Bundle Product - Magento 2

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Section
Column
width50%

Table of Contents

Warning

Firefox user notice:

Please use different web browser to view this document.

Sorry for the inconvenience.

Column
width30%

Simple Bundle Product for Magento 2Image Modified

Magento 2 Simple Bundle Product simplifies the creation of bundle products by minimizing the number of configuration options. Admins can add bundles to new orders without additional setting. Customers can add bundles to their cart without any preliminary customization.

Compatibility: Magento Open Source 2.2.X, Magento Commerce 2.2.X

  

UI Button
titleProduct Page
colororange
urlhttps://ecommerce.aheadworks.com/magento-2-extensions/simple-bundle-product
sizelarge

Thank you for choosing Aheadworks!


Installing Simple Bundle Product

Section
Column
width50%

Command Line Installation

Panel
borderStylesolid
borderWidth2px

1. Backup your web directory and store database

Panel
borderStylesolid
borderWidth2px

2. Download the Simple Bundle Product installation package

Panel
borderStylesolid
borderWidth2px

 3. Upload the contents of the Simple Bundle Product installation package to your store root directory

Panel
borderStylesolid
borderWidth2px

 4. In the SSH console of your server, navigate to your store root folder:

No Format
cd path_to_the_store_root_folder

run the following command:

No Format
php -f bin/magento module:enable Aheadworks_Sbp

then:

No Format
php -f bin/magento setup:upgrade

after:

No Format
php -f bin/magento setup:static-content:deploy
Panel
borderStylesolid
borderWidth2px

5. Flush the store cache; log out from the backend and log in again

Note

Make sure the installation is done from under the FTP administrator account. Otherwise make sure to set 775 permissions to the store root directory after the extension is deployed.

Column
width50%

Composer Installation

Panel
borderStylesolid
borderWidth2px

1. Log in to your customer account at https://ecommerce.aheadworks.com and navigate to Account -> Composer access;

Panel
borderStylesolid
borderWidth2px

2. Configure your store to work with the Aheadworks composer repository:

Add composer repository to composer.json by running:

composer config repositories.aheadworks composer https://dist.aheadworks.com/ in the Magento installation root.

Use a key pair provided as login and pass. You can optionally save them in the global composer auth file.

Panel
borderStylesolid
borderWidth2px

 3. You can start using AW composer now.

 For extension names, navigate to Account -> Composer access.

Panel
borderStylesolid
borderWidth2px

 4. Open the root Magento directory on your server and send Composer the following command:

composer require <component-name>:<version>

Note: Use the previously copied component name and version.

Panel
borderStylesolid
borderWidth2px

 5. Make sure that Composer finished the installation without errors. Flush store cache, log out and log into the backend again.




Introducing Simple Bundle Product

Section

The Simple Bundle Product extension makes bundle installation for admins and their purchasing for customers as simple as possible by introducing the following features:

  • Excessive bundle setting options are hidden;
  • Bundles can be added to backend orders;
  • Bundle customization step is eliminated.

Extension Logic

The module adds the new option to the ‘New Product’ page for bundle products. It allows switching to a simplified view with fewer settings compared to the native functionality. However, the core Magento logic remained unchanged, meaning that bundles are created and handled by Magento the same way as before.

In essence, an admin needs to add bundle items in order to create a new bundle product. Once the bundle has been created, the admin can add it to new orders.

On the storefront, customers can now add already configured bundles to their cart without customizing them just like they do this with a simple product type. 


Backend Configuration

Section

Extension Settings

Start with configuring the extension settings under Stores > Configuration > AHEADWORKS EXTENSIONS > Simple Bundle Product.

Extension Settings

Here you are presented with one option only: Default Title List of Bundle Products. Specify the appropriate title in the field and click on the ‘Save Config’ button to apply the setting. 


Configuring a Simple Bundle

 Now, let’s create a simple bundle. Traditionally, the bundle is configured in Catalog > Products.

 First, switch to the ‘Simple Bundle’ mode. 

Switching to the 'Simple Bundle' Mode

Once you’ve enabled the parameter, the pop-up alert is displayed.

Pop-up Warning

Nothing to worry about - just a warning that the native bundle options will now be unavailable. Click on the ‘Continue’ button.

Next, scroll down to the ‘Bundle Items’ section to see what changed there. 

'Bundle Items' Section (Simplified View)

As you can see, the ‘Add Option’ buttonis now hidden. The ‘Option Title’ field displays the value you previously indicated in the extension settings. So, all you need to do to is to add the required items to the bundle the same way as in the native solution.

After the bundle is composed, the section will look like this:

 'Bundle Items' Section (with Bundle Items)

In the simplified view, the ‘Input Type’ section is now hidden. It’s automatically set to ‘Checkbox’ and can't be deselected by a customer on a storefront. The ‘Required’ parameter is enabled by default.

Adding Bundles to New Orders

In addition to bundle creation, the module improves the functionality of the ‘New Order’ page.

Let’s see it in action! Go to Sales > Orders and click on the ‘Create New Order’ button. Select the required customer and start adding products to the order.

Backend Order Support

Now you can easily add your bundles to new orders. Notice: you don’t have to additionally set them up for this purpose. Still, you can perform a simple configuration. Click on the ‘Configure’ active link next to the corresponding bundle product’s title.

Here you are suggested to set the quantity of the bundle product. If you leave the ‘Quantity’ field empty, the quantity will be ‘1’ (default value).

Bundle Quantity Setting


Simple Bundles on the Storefront 

Section

Simple Bundle Product makes the interface of bundle product pages more user-friendly. Check it out!

Simple Bundle Product Page

Bundle items are presented as a list with active links to corresponding item pages.

All the required configuration is already performed for customers.

They just need to add the product to a cart. That’s it! Mind that if you need to use simple bundles along with the native ones, you can do it smoothly. 

UI Button
titleProduct Page
colororange
urlhttps://ecommerce.aheadworks.com/magento-2-extensions/simple-bundle-product

Need Customization?

Magento 2 Custom Development Services by Aheadworks


You can always find the latest version of the software, full documentation, demos, screenshots, and reviews on http://ecommerce.aheadworks.com

License agreement: https://ecommerce.aheadworks.com/end-user-license-agreement/
Contact Us: http://ecommerce.aheadworks.com/contacts/
Copyright © 2018 Aheadworks Co. http://www.aheadworks.com