{"id":20672095,"url":"https://github.com/workarea-commerce/workarea-save-for-later","last_synced_at":"2026-04-21T11:02:04.087Z","repository":{"id":35074085,"uuid":"203835218","full_name":"workarea-commerce/workarea-save-for-later","owner":"workarea-commerce","description":null,"archived":false,"fork":false,"pushed_at":"2026-03-02T14:33:42.000Z","size":597,"stargazers_count":0,"open_issues_count":10,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-03-02T17:53:24.970Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/workarea-commerce.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-08-22T16:42:43.000Z","updated_at":"2020-12-14T14:48:35.000Z","dependencies_parsed_at":"2023-01-15T13:17:05.340Z","dependency_job_id":null,"html_url":"https://github.com/workarea-commerce/workarea-save-for-later","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/workarea-commerce/workarea-save-for-later","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workarea-commerce%2Fworkarea-save-for-later","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workarea-commerce%2Fworkarea-save-for-later/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workarea-commerce%2Fworkarea-save-for-later/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workarea-commerce%2Fworkarea-save-for-later/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/workarea-commerce","download_url":"https://codeload.github.com/workarea-commerce/workarea-save-for-later/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workarea-commerce%2Fworkarea-save-for-later/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32088913,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-21T06:27:27.065Z","status":"ssl_error","status_checked_at":"2026-04-21T06:27:21.250Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-16T20:31:54.928Z","updated_at":"2026-04-21T11:02:04.057Z","avatar_url":"https://github.com/workarea-commerce.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"Workarea Save For Later\n================================================================================\n\nIncrease average order values and help retail customers save items for later without having to create an account.\n\nThis plugin allows a consumer with or without an account to move items from their cart to a \"Saved For Later\" list that displays on the cart page. For users without an account, this list is persisted through a cookie that will retain their list on their browser. For users with accounts, this list is tied to their account directly and will appear in any browser they log into allow quick access to items they may be considering for purchase.\n\nFeatures\n--------------------------------------------------------------------------------\n\n* Each product in cart will display a “Save for later” link\n* Moving a product from the regular cart to the saved cart will remove it from the cart\n* Saved cart product list item will maintain SKU, quantity, and customizations\n* Each product listed in the saved cart will display a “Move to cart” link\n* Moving a product from the saved cart to the regular cart will remove it from the saved cart\n* If a consumer has not saved any products to a saved cart the saved cart will not display\n* Cookie-based list for guests, tied to account's for signed in users.\n* Lists created while logged out will merge into a consumer's existing list if they log in after adding items to their \"Saved for Later\" list\n* Utilizes existing cart HTML/CSS to add no additional components that need to be styled.\n* Lists created by guest users are pruned from the database after a\n  predetermined length of time (**default:** 3 months)\n\nConfiguration\n--------------------------------------------------------------------------------\n\n`Workarea.config.saved_lists_expiration` configures the expiration time for `Workarea::SavedList` records. Using [MongoDB's TTL Indexes](https://docs.mongodb.com/manual/core/index-ttl/), we can leverage the database to prune these documents in a background thread when they are no longer relevant. This is used to define the `expireAfterSeconds` parameter on the TTL index, which means if this setting is changed, you'll have to rebuild indexes for the `SavedList` model like so:\n\n```ruby\nWorkarea::SavedList.remove_indexes\nWorkarea::SavedList.create_indexes\n```\n\nTo make sure your changes were taken up, view the specification for the TTL index like so:\n\n```ruby\nWorkarea::SavedList.index_specifications\n\n=\u003e [#\u003cMongoid::Indexable::Specification:0x00007fd52a3b9078\n  @fields=[:user_id],\n  @key={:user_id=\u003e1},\n  @klass=Workarea::SavedList,\n  @options={}\u003e,\n #\u003cMongoid::Indexable::Specification:0x00007fd52a3acc10\n  @fields=[:updated_at],\n  @key={:updated_at=\u003e1},\n  @klass=Workarea::SavedList,\n  @options=\n   {:expire_after=\u003e1 month, # \u003c\u003c\u003c this is what should change\n    :partial_filter_expression=\u003e{:user_id=\u003e{\"$eq\"=\u003enil}}}\u003e]\n```\n\nGetting Started\n--------------------------------------------------------------------------------\n\nThis gem contains a rails engine that must be mounted onto a host Rails application.\n\nTo access Workarea gems and source code, you must be an employee of WebLinc or a licensed retailer or partner.\n\nWorkarea gems are hosted privately at https://gems.weblinc.com/.\nYou must have individual or team credentials to install gems from this server. Add your gems server credentials to Bundler:\n\n    bundle config gems.weblinc.com my_username:my_password\n\nOr set the appropriate environment variable in a shell startup file:\n\n    export BUNDLE_GEMS__WEBLINC__COM='my_username:my_password'\n\nThen add the gem to your application's Gemfile specifying the source:\n\n    # ...\n    gem 'workarea-save_for_later', source: 'https://gems.weblinc.com'\n    # ...\n\nOr use a source block:\n\n    # ...\n    source 'https://gems.weblinc.com' do\n      gem 'workarea-save_for_later'\n    end\n    # ...\n\nUpdate your application's bundle.\n\n    cd path/to/application\n    bundle\n\nWorkarea Platform Documentation\n--------------------------------------------------------------------------------\n\nSee [http://developer.weblinc.com](http://developer.weblinc.com) for Workarea platform documentation.\n\nCopyright \u0026 Licensing\n--------------------------------------------------------------------------------\n\nCopyright WebLinc 2018. All rights reserved.\n\nFor licensing, contact sales@workarea.com.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fworkarea-commerce%2Fworkarea-save-for-later","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fworkarea-commerce%2Fworkarea-save-for-later","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fworkarea-commerce%2Fworkarea-save-for-later/lists"}