定制 viraxpress/save-cart 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

viraxpress/save-cart

Composer 安装命令:

composer require viraxpress/save-cart

包简介

ViraXpress SaveCart Extension for Magento 2

README 文档

README

Description

The ViraXpress SaveCart extension for Magento 2 is a comprehensive shopping cart management solution that empowers customers to save, manage, and restore their shopping carts for later purchase. This extension is perfect for e-commerce stores looking to improve customer experience by reducing cart abandonment and providing convenient cart management features.

With SaveCart, customers can maintain multiple saved carts with custom names and descriptions, making it easy to organize shopping lists for different needs or occasions. The extension also includes cart sharing functionality, allowing customers to share their carts with others via a unique share code and email notifications.

Features

Customer-Facing Features

  • Save Current Cart: Customers can save their active shopping cart with a custom name and description
  • Multiple Saved Carts: Support for unlimited saved carts per customer for various shopping scenarios
  • View Saved Carts: Convenient dashboard to view all saved carts with product details and totals
  • Restore Cart: Restore saved carts with configurable merge/replace options
  • Delete Saved Carts: Remove unwanted saved carts
  • Share Carts: Share saved carts with others using unique share codes
  • Email Notifications: Send email notifications when carts are shared
  • Saved Cart List: Display saved carts on customer account page
  • Cart Mini-Cart Widget: Quick access to saved carts from the mini-cart

Admin Features

  • Saved Cart Management: View and manage all saved carts from admin panel
  • Bulk Actions: Mass delete saved carts (admin UI component available)
  • Customer Insights: See which customers have saved carts
  • Cart Details: View complete saved cart contents with product information
  • Configuration Panel: Easy toggle and settings management

Flexible Configuration

  • Enable/Disable: Turn the feature on or off globally
  • Cart Action Options: Choose between merge (combine with current cart) or replace (clear current and load saved) behavior
  • Customer Group Restrictions: Limit feature availability to specific customer groups
  • Email Customization: Configure email sender and custom email templates for cart sharing
  • Share Code Generation: Automatic secure share code generation for cart sharing

Requirements

PHP Versions

The extension requires PHP 8.1 or higher and supports the following versions:

  • PHP ~8.1.0
  • PHP ~8.2.0
  • PHP ~8.3.0
  • PHP ~8.4.0

Magento Versions

  • Magento 2.x (compatible with recent Magento Open Source)

Compatibility

Feature Support
Magento 2.4+ ✅ Full Support
Magento Open Source ✅ Yes

Installation

Prerequisite

Ensure your Magento 2 installation is up to date and you have access to the command line with proper permissions.

Installation Method 1: Zip File

  1. Download the extension zip file

  2. Extract and upload the contents to your Magento installation:

    unzip SaveCart.zip
    cp -r SaveCart/* app/code/ViraXpress/
  3. Enable the module:

    php bin/magento module:enable ViraXpress_SaveCart
  4. Run database setup:

    php bin/magento setup:upgrade

    Note: In production, use php bin/magento setup:upgrade --keep-generated

  5. Flush the cache:

    php bin/magento cache:flush
  6. (Optional) Recompile static files:

    php bin/magento setup:static-content:deploy

Installation Method 2: Composer

  1. Add the composer repository that hosts the package.

  2. Install the module:

    composer require viraxpress/save-cart
  3. Enable the module:

    php bin/magento module:enable ViraXpress_SaveCart
  4. Run setup upgrade:

    php bin/magento module:enable ViraXpress_SaveCart
    php bin/magento setup:upgrade
    php bin/magento setup:di:compile
    php bin/magento setup:static-content:deploy -f
    php bin/magento cache:flush
  5. Flush cache:

    php bin/magento cache:flush
    

Configuration

Navigate to Stores > Configuration > ViraXpress > Saved Cart Settings to configure the extension.

General Settings

Setting Description Options
Enable Saved Cart Enable or disable the SaveCart feature Yes / No
Cart Action Behavior when restoring a saved cart Merge (add to current cart) / Replace (clear and load saved cart)
Select Customer Group(s) Limit feature to specific customer groups Multiselect customer groups
Share Cart Email Sender Email sender identity for cart sharing notifications Select from configured identities
Share Cart Email Template Email template for cart sharing Select from available templates

Usage

For Customers

  1. Save a Cart:

    • Add products to the shopping cart
    • Click the "Save Cart" button on the cart page
    • Enter a name and optional description
    • Click "Save"
  2. View Saved Carts:

    • Go to My Account > My Saved Carts
    • View list of all saved carts with details
  3. Restore a Cart:

    • Navigate to saved carts list
    • Click "Restore" on the desired cart
    • Choose merge or replace option (based on admin configuration)
    • Proceed to checkout
  4. Share a Cart:

    • Click "Share" on a saved cart
    • Enter recipient email address
    • Send the cart share link
    • Recipient receives email with cart details
  5. Delete a Cart:

    • Click "Delete" on a saved cart
    • Confirm deletion

Support

For support, please contact ViraXpress at https://www.viraxpress.com or refer to the license agreement.

License

This extension is licensed under the ViraXpress license agreement. See https://www.viraxpress.com/license for details.

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2026-07-03

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固