Menu Close
    Start a Project Request quote Reading list Switch to dark mode

    Magento 2 Attribute Based Split Cart

    With the help of an attribute-based split cart module, the customer will get a split shopping cart on the basis of an attribute such as color, manufacturer country, size, etc.

    The admin can select the split cart attribute for which the shopping cart will be divided/split. After that, the customers will be able to do multiple checkout processes for similar products.


    • The admin can enable or disable the module
    • The admin can set the product attribute in module configuration.
    • Admin can create his own attributes(only dropdown type attribute )to split cart.
    • Split cart according to the value of the set attribute.
    • Customers can do multiple checkout processes
    • Supports existing shipping & payment methods.
    • Source code open for customization
    • Multi-lingual compatible including RTL

    Note – Attribute with input type drop-down can only be used to split cart.


    Customers will get a zip folder and they have to extract the contents of this zip folder on their system. The extracted folder has an src folder, inside the src folder you have the app folder. 

    You need to transfer this app folder into the Magento2 root directory on the server as shown below.

    After the successful installation, you have to run these commands in the Magento2 root directory.

    First Command – 

    Second Command – 

    Third Command – 

    After running the commands, you have to flush the cache from the Magento admin panel by navigating through “System->Cache Management” as shown below.

    Thus, in this way, the module installation completes.

    Multi-Lingual Configuration

    For Multilingual support, please navigate to “Store>Configuration>General >Locale Options”. And select your desired language from the Locale option.

    Therefore, in this way the Multi-Lingual Configuration is done.

    Module Translation

    If you want to translate their module language from English to German then follow the path app/code/Webkul/AtrrBaseSplitcart /i18n in their unzipped folder. After that, you will get a CSV file with the name “en_US.csv”.

    Open the file named en_US.CSV for editing as shown in the below screenshot.

    Then replace the words after the comma(,) on the right in the file with your translated words.

    After editing and translating the CSV file, you need to save the translated file name according to your region language and country code such as – de_DE.CSV. Followed by uploading the translated file to the same folder from where you have obtained it. Now your module translation is complete.

    Thus, the module translation completes.

    Module Configuration

    After the successful installation of the module, the admin can configure this module under “Store > Configuration > Webkul > Attribute Base Splitcart”.

    Active –  Here the admin can choose between “Yes” to enable the module or “No” to disable the module.

    Split by attribute – Here the admin can choose the attribute for splitting the shopping cart like – color, size, manufacturer, etc.

    Note -Here, Only those attributes are displayed that the input type is dropdown. like- color has red and blue two drop-down values.

    Customer End

    Shopping Cart – 

    Customers will get the split carts based on the attribute like – color, size, manufacturer country, etc. and the customer will get separate “Go to checkout” button for each cart as per below snapshot – 

    The customer can edit and update each shopping cart separately. You can move any product to a wishlist and can delete it as well from the shopping cart.

    Separate Checkout –

    The customer can separately purchase the same attribute values product as per the below snapshot –

    Mini Cart Page –

    The customer can view all products in the mini cart page as per below snapshot –

    If the customer clicks on the Proceed to Checkout button, then it redirects them to the shopping cart page as per below snapshot:


    The Split Cart based on Attribute is responsive for all kinds of screen sizes and can adjust itself with the Mobile screen, Tablet screen, and Desktop screen.


    Thus, that’s all for Magento 2 Attribute Based Split Cart module. Still, have any issue please feel free to add a ticket at

    Current Product Version - 3.0.0

    Supported Framework Version - Magento 2.0.x, 2.1.x, 2.2.x, 2.3.x

    . . .


    Add Your Comment

    Be the first to comment.

    Back to Top
    Hire Us!
    Brief us about your requirements and we'll get back to you.
    Woo! Hooy!
    We have just recieved your project brief and our expert will contact you shortly.
    Send Again

    Table of Content

    Hide Index