WooCommerce Cart Share and Save

  • How to install plugin

    Step 1: Download the zip file from the codecanyon.net

    Step 2: Extract the downloaded zip file on your desktop or in any folder.

    Step 3: Open the extracted folder “woocommerce-cart-share-and-save“.

    Step 4: Here you found three folders 1) Documentation 2) License 3) Plugin.

    Step 5: Open “Plugin” folder. Now you found the main plugin file “plugin.zip“.

    Step 6: Log in to your WordPress admin panel.

    Step 7: Mouse over the “Plugins” menu and click on “Add new“.

    Step 8: Click on the “Upload Plugin” button and then click on the “Browse” button.

    Step 9: Select the “plugin.zip” file and click on the “Upload” button.

    Step 10: Now the final step, after uploading complete click on the “Activate Plugin” button.

  • Plugin Settings

    • Appearance Settings

      Popup Background Color: Change popup background color. Default #ffffff

      Popup Text Color: Change popup text color. Default #21234a

      Buttons Background Color: Change buttons background color. Default #fc6c6c

      Buttons Text Color: Change buttons text color. Default #ffffff

      Popup Overlay: You can enable or disable the popup overlay.

    • Basic Settings

      Button Location: You can select the share cart button position. Default With - Apply Coupon

      Buttons Status: You can enable/ disable buttons on the cart page.

      RTL (Right to Left): If your website supports Arabic or Hebrew then you can enable this option.

      User Can Save Cart?: Enable this option if you want users can save cart.

      User Can Print Cart?: Enable this option if you want users can print cart.

      Select Social Media: You can enable or disable share media channels.

      Note: Messenger required integration, click here to know more about it.

      Display By Roles: You can enable or disable share cart by the roles.

      Retrieved Cart Redirection: Select the page where user redirects after retrieving a shared cart.

      Social Share Message: This message will send with the shared link.

      Custom CSS: Enter your custom CSS.

    • Advanced Settings

      Automatically Delete Cart Options: 

      • Delete shared cart after retrieved?: Enable this option if you want to delete the shared cart after retrieved.
      • Delete saved and shared cart after retrieved?: Enable this option if you want to delete the shared and saved cart after retrieved.
    • Share Integration

      Messenger APP ID: Enter your Facebook developer App ID.

      Follow the following steps to create Facebook App ID.

      1. Open developers.facebook.com website.
      2. Click on Log In from the main menu. Fill in your Facebook login details and then click on the Log in button.
      3. Now, click on the My Apps from the main menu.
      4. Now, click on the Create App button.
      5. Select Business as an app type and then clicks on the Next button.
      6. Enter the Display name ( any name you want ), enter the App contact email, and then click on the Create app button.
      7. Now, enter your Facebook password ( if prompt ) and then click on the Submit button.
      8. Copy the App ID and paste it into the plugin's Messenger APP ID option.
      On mobile, Facebook Messenger share only works if the Facebook messenger is installed. 
    • My Account

      Tab Name: You can change the tab name from here.

      Slug: You can change the slug ( URL parameter ) from here. Default saved-cart

      Restore Cart Button Label: Enter the button label for Restore cart button.

      Share Cart Button Label: Enter the button label for Share cart button.

      Delete Cart Button Label: Enter the button label for Delete cart button.

      Empty Saved Cart Button: Enter button label for no saved cart.

      Empty Saved Cart Message: Enter a message for no saved cart.

    • Email Settings

      Brand Logo: Upload your brand logo.

      Brand Name: Enter your brand name.

      Header Background Color: Change the email header and footer background color.

      Header Text Color: Change the email header and footer text color.

      Button Background Color: Change the email button background color.

      Button Text Color: Change the email button background color.

      Body Color: Change the email body background color.

      Button Text: You can change the button text here.

      Email Description: Add the email description here.

      Follow Us:

      • Facebook: Leave blank for disable.
      • Instagram: Leave blank for disable.
      • Twitter: Leave blank for disable.
      • WhatsApp: Leave blank for disable. Enter mobile phone number with the international country code, without + character. Example: 911234567890 for (+91) 1234567890

      Email From Name: Enter the email come from name.

      Email From: Enter an email of your store.

    • Shortcodes

      Displaying Share Cart Button: Copy and paste the following shortcode directly into the page, post, or widget where you would like the share cart button to show up.

      [wcss-share-cart-btn]

      Parameters:

      • text Change the button text.
      • bgColor Change the button background color.
      • textColor Change the button text color.

      Example: [wcss-share-cart-btn text="your_button_text" bgColor="#333333" textColor="#ffffff"]

       

      Introduced in version 1.8.3

      Displaying Save Cart Button: Copy and paste the following shortcode directly into the page, post, or widget where you would like the share cart button to show up.

      [wcss-save-cart-btn]

      Parameters:

      • text Change the button text.
      • bgColor Change the button background color.
      • textColor Change the button text color.

      Example: [wcss-save-cart-btn text="your_button_text" bgColor="#333333" textColor="#ffffff"]

       

      Introduced in version 1.8.3

      Displaying Email Cart Button: Copy and paste the following shortcode directly into the page, post, or widget where you would like the share cart button to show up.

      [wcss-email-cart-btn]

      Parameters:

      • text Change the button text.
      • bgColor Change the button background color.
      • textColor Change the button text color.

      Example: [wcss-email-cart-btn text="your_button_text" bgColor="#333333" textColor="#ffffff"]

  • How To

    Here you can find some most asked technical questions and their solutions.

    • Delete all saved and shared carts

      Step 1: Log in to the WordPress admin dashboard.

      Step 2: Mouse over on Woo Cart Share and click on the Saved Cart menu.

      Step 3: Now, click on the Delete all saved & shared carts button to delete all the saved and shared carts

      Note: Be careful, there is no way to get back the saved and shared carts after delete.
  • Developer

    • Template Overriding

      WooCommerce Cart Share & Save template files contain the markup and template structure for frontend and HTML emails of your store.

       

      How to override the template.

      Original template files can be found within the /woocommerce-cart-share-and-save/templates/ directory.

      You can override the WooCommerce Cart Share & Save the template by creating a folder wcss-templates inside of your child theme root.

      Copy the template into a directory within your theme named /wcss-templates keeping the same file structure.

       

      Example: To override the share cart email copy: wp-content/plugins/woocommerce-cart-share-and-save/templates/email-cart/email-cart.php to wp-content/themes/yourtheme/wcss-templates/email-cart/email-cart.php

      The copied file will now override the WooCommerce Cart Share & Save default template file.

      Warning: Do not edit these files within the core plugin itself as they are overwritten during the upgrade process and any customizations will be lost.

       

      Still no luck? We can help!

      Our WooCommerce experts are always available for you to make the template according to your need at very reasonable development cost. Contact us now.

  • FAQ

    Que: Can I show Share and save cart button only for the particular user role?

    Ans: Yes, you can show the Share and Save cart button only for the particular user role by selecting them.

    Goto Woo Cart Share > Basic Settings > Display By Roles ( Enable option ) and select the role(s) from the dropdown menu.

  • Other

  • Changelog

    • New in 2.2.0

      1: Add: Feature to preview the email cart: Now, the admin can preview the email cart template directly on WordPress admin.

      //

    • New in 2.1.0

      1: Improved print cart design: In version 2.1.0, we drastically improved the design of the print cart.

       

      2: New print cart options section: We added new admin settings section, particularly for print cart customization. Read more here.

      3: Shared/ Saved cart processed status: Before version 2.1.0, there was no way to find out whether the shared/ saved cart was processed by the user or the customer but now, the admin can easily know the processed status of shared/ saved cart.

    • Full Changelog

      VERSION 2.3.0 

      • Fix: Plugin support page design issue.
      • Improve: Change the structure of the email cart template.
      • Dev: Remove the print cart template's unnecessary arguments.

      VERSION 2.2.0

      • Add: Feature to preview the email cart.
      • Improve: Email cart style structure.
      • Remove: Email cart RTL template. Now, the main template will manage RTL.

      VERSION 2.1.1

      • Add: Shortcode wcss_share_cart_buttons.
      • Fix: Added missing print cart translations.

      VERSION 2.1.0

      • Improve: Print cart design and added more admin options to manage print cart.
      • Tweak: Add an option to see if the shared or saved cart is processed or not.

      VERSION 2.0.7

      • Fix: Saved cart tab display issue even turned off from settings.

      VERSION 2.0.6

      • Tweak: Add Copy Cart Link option from the shared and saved cart admin list.

      VERSION 2.0.5

      • Fix: Tables creation issue while installing the plugin

      VERSION 2.0.4

      • Fix: unexpected ‘)’ on line 1017 error

      VERSION 2.0.3

      • Fix: Allow documentation iframe to scroll.
      • Fix: Condition to get shared and save cart from database.

      VERSION 2.0.2

      • Tweak: Add cart information on admin view cart page.

      VERSION 2.0.1

      • Tweak: Add admin option to delete old shared cart periodically.
      • Tweak: Add the admin option to show the Print cart button on the cart.
      • Tweak: Add shared cart list screen options.
      • Tweak: Add saved cart list screen options.
      • Tweak: Add Email column to saved cart list.
      • Tweak: Change inline actions with WordPress default standards.
      • Tweak: Add an inline option to delete shared cart.
      • Fix: Delete shared cart function to not delete if cart saved.

      VERSION 2.0.0

      • Add: Ability to save shared cart for user.
      • Add: Options to change Share icon’s color.
      • Improve: Change font icons with SVG icons.
      • Improve: Print cart PDF layout.
      • Fix: Remove unwanted icons CSS.
      • Tweak: BIG CHANGE: Change classes methods, deprecate functions.
      • Tweak: Swap `Cart Key` and `Saved By` columns.
      • Tweak: Redesign plugin support page.
      • Tweak: Redesign admin view cart page.
      • Tweak: Add option to bulk delete from saved cart list.
      • Tweak: Add option to bulk delete from shared cart list.
      • Remove: RTL admin option. Now, RLT will work with site language.

      VERSION 1.9.4

      • Tweak: Add seprate CSS to apply CSS on print cart.

      VERSION 1.9.3

      • Improved CSS load time.
      • Tweak: Ajax based save cart functionality.

      VERSION 1.9.2

      • Fixed: Icon issues on admin setting pages.

      VERSION 1.9.1

      • Added: Shortcode [wcss-display-saved-carts] to display saved carts.
      • Improved CSS load time.
      • Improved: Added saved cart timestamp on my-account page
      • Fixed: Visibility of Share Cart button on my-account page.
      • Dev: Added wcss_email_cart_headers filter.
      • Dev: Added wcss_my_account_buttons filter

      VERSION 1.9.0

      • Added: Now, admin can see the carts shared by the customers.
      • Added: Option to add/ change Email background color.
      • Fixed: Email cart & Print cart issues from my-account page.
      • Improvement: Increased Saved cart DB column length to 128 from 64 characters.

      VERSION 1.8.6

      • Fixed: PHP 8 error - Unknown format specifier ';'.

      VERSION 1.8.5

      • Added: Email cart option.
      • Dev: shared_cart_meta data table.
      • Fixed: Share and save cart button issues after quantity update.

      VERSION 1.8.4

      • Fixed: Plugin activation link issue.
      • Declared required and supported WooCommerce.

      VERSION 1.8.3

      • Added: Save cart button and admin option to show and hide trigger buttons.
      • Added: Save cart button and email cart button shortcodes.
      • Added: Facebook messenger APP ID option and share integration admin settings.
      • Added: Documentation admin menu.
      • Added: Button shortcodes documentation.
      • Added: 4 new button location options for cart page.
      • Changed: Separate admin popup text settings from appearance and make it in new tab.
      • Fixed: Shortcode button width and padding.
      • Dev: Added action after saved cart delete.
      • Dev: Added filter wcss_saved_cart_by_user.
      • Dev: Added an action after cart save.

      VERSION 1.8.2

      • Added: Shortcode wcss_saved_cart_view to display the saved cart on any page or post.
      • Fixed: unwanted anchor tag.

      VERSION 1.8.1

      • Added: More compatibilities with third-party WooCommerce plugins.

      VERSION 1.8.0

      • Added: Facebook shares medium text message.
      • Dev: Added some custom actions.
      • Fixed: Typo email@domian.com to email@domain.com.
      • Fixed: Slashes in email message content.

      VERSION 1.7.9

      • Dev: Template override to all templates.
      • Fixed: Check for updates plugin redirection.
      • Changed: Template override folder structure.

      VERSION 1.7.8

      • Add: Confirm message while admin deletes all saved and shared carts.
      • Add: Admin option to change my-account buttons text.
      • Add: Email Cart message box supports HTML.
      • Added: New plugin update checker method.
      • Dev: Template override option.
      • Fixed: Customer saved cart order ( newest first. ).
      • Fixed: Uncaught Error: Call to undefined function wc_get_page_id().

      VERSION 1.7.7

      • Fix - known bugs.
      • Fix - Admin print cart and email cart button not working.
      • Fix - Share cart email WhatsApp icon non-removal issue.

      VERSION 1.7.6

      • Add - Shared cart retrieved notification.
      • Add - Shared or saved cart not found notification.
      • Security and performance increment.
      • Changed the infrastructure of the plugin.

      VERSION 1.7.5

      • Add - Cart retrieved time for the admin.
      • Add - Popup overlay ( Enable/ Disable by admin ).
      • Change - Time format from full month name to short month name.
      • Fix - Layout related issues.

      VERSION 1.7.4

      • Add compatibility with Internet Explorer 10, and 11
      • Performance and security patch.

      VERSION 1.7.3

      • Add - Delete shared and save cart after retrieved option for admin.
      • Fix - Share shaved cart AJAX notices.
      • Fix - Activation and deactivation process.

      VERSION 1.7.2

      • Add - Advanced Settings admin tab.
      • Add - Delete shared cart after retrieved option for admin.
      • Fix - Display debug report issue.
      • Fix - Email cart form textarea white space.

      VERSION 1.7.1

      • Users can send share cart email to multiple emails by comma-separated.

      VERSION 1.7.0

      • Re-code the plugin from the ground.
      • Added: Automatic update.
      • Security: Escaped missing outputs.
      • Improvement: Print cart design.
      • Improvement: Send cart design.
      • Improvement: Admin dashboard.

      VERSION 1.6.0

      • Now user can also share cart as a fancy email.
      • Fixed: Shortcode button to share empty cart.

      VERSION 1.5.0

      • A brand new look of a shared cart email ( Admin ).
      • A brand new look of a print cart email.
      • Added: Third-party plugins compatibility.
      • Added: More details in a shared cart like subtotal, taxes, shipping, custom fees, and etc.
      • Added: Retrieve cart redirection URL admin option.
      • Security: Improved security inputs.

      VERSION 1.4.1

      • Added: Applied coupon(s) view in admin saved cart email and in print cart for users.
      • Added: WPML dynamic string translation.
      • Fixed: Share cart shortcode display issue for the users who has no permission to access the share cart.
      • Fixed: Twitter and WhatsApp sharing channel issues.

      VERSION 1.4.0

      • Added: Print cart option for the users.
      • Added: Print cart option for the admin.
      • Added: Greek language.
      • Removed: Google Plus social media share.

      VERSION 1.3.1

      • Added: German language.
      • Fixed: Plugin installation issue.
      • Fixed: Share popup close button height.

      VERSION 1.3.0

      • Added – Email cart option. Now, admin can email saved cart directly from the admin panel.
      • Added – Print cart option. Now, admin can print the cart as PDF.
      • Added – Shortcode to display “Share Cart” button on any location.
      • Added – My Account page admin option.
      • Added – Admin can view the numbers of the retrieved count.
      • Improvement – Redesigned plugin admin option with the beautiful help tooltip.
      • Security – Improved security inputs.

      VERSION 1.2.0

      • Brand new popup layout and animations.
      • Fixed: Cart redirection URL.

      VERSION 1.1.1

      • Fixed: Display by Role issue.

      VERSION 1.1.0

      • Enable/ Disable share media.
      • Added: Role-based access.

      VERSION 1.0.1

      • Fixed facebook share.

      VERSION 1.0.0

      • Initial realize.