Title: Allow Only Last Item In Cart
Author: Savan Dholu
Published: <strong>2021年7月13日</strong>
Last modified: 2021年11月8日

---

プラグインを検索

このプラグインは **WordPress の最新3回のメジャーリリースに対してテストされていま
せん**。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress
で使用した場合は互換性の問題が発生する可能性があります。

![](https://ps.w.org/allow-only-last-item-in-cart/assets/icon-128x128.png?rev=2563187)

# Allow Only Last Item In Cart

 作者: [Savan Dholu](https://profiles.wordpress.org/savan91/)

[ダウンロード](https://downloads.wordpress.org/plugin/allow-only-last-item-in-cart.zip)

 * [詳細](https://ja.wordpress.org/plugins/allow-only-last-item-in-cart/#description)
 * [レビュー](https://ja.wordpress.org/plugins/allow-only-last-item-in-cart/#reviews)
 *  [インストール](https://ja.wordpress.org/plugins/allow-only-last-item-in-cart/#installation)
 * [開発](https://ja.wordpress.org/plugins/allow-only-last-item-in-cart/#developers)

 [サポート](https://wordpress.org/support/plugin/allow-only-last-item-in-cart/)

## 説明

This Plugin gives you the functionality when the user clicks on Add to Cart button
it will clear all previous cart data entirely and add new cart data, only allow 
one product purchase at a time.

## インストール

Upload the allow_only_last_item_in_cart plugin to your plugin directory, activate
it

For backwards compatibility, if this section is missing, the full length of the 
short description will be used, and
 Markdown parsed.

e.g.

 1. Upload `allow_only_last_item_in_cart.php` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Place `<?php do_action('allow_only_last_item_in_cart'); ?>` in your templates

A few notes about the sections above:

 * “Contributors” is a comma separated list of wordpress.org usernames
 * “Tags” is a comma separated list of tags that apply to the plugin
 * “Requires at least” is the lowest version that the plugin will work on
 * “Tested up to” is the highest version that you’ve _successfully used to test 
   the plugin_. Note that it might work on
    higher versions… this is just the highest
   one you’ve verified.
 * Stable tag should indicate the Subversion “tag” of the latest stable version,
   or “trunk,” if you use `/trunk/` for
    stable.
 * Note that the `readme.txt` of the stable tag is the one that is considered the
   defining one for the plugin, so
    if the `/trunk/readme.txt` file says that the
   stable tag is `4.3`, then it is `/tags/4.3/readme.txt` that’ll be used for displaying
   information about the plugin. In this situation, the only thing considered from
   the trunk `readme.txt` is the stable tag pointer. Thus, if you develop in trunk,
   you can update the trunk `readme.txt` to reflect changes in your in-development
   version, without having that information incorrectly disclosed about the current
   stable version that lacks those changes — as long as the trunk’s `readme.txt`
   points to the correct stable tag.
 * If no stable tag is provided, it is assumed that trunk is stable, but you should
   specify “trunk” if that’s where
    you put the stable version, in order to eliminate
   any doubt.

## 評価

![](https://secure.gravatar.com/avatar/7c6d7e0f3bed3a1bbba3734561ae27ae35026d67a36a05a3c83e43c758a99a8b?
s=60&d=retro&r=g)

### 󠀁[An Amazing Plugin](https://wordpress.org/support/topic/an-amazing-plugin-33/)󠁿

 [Savan Dholu](https://profiles.wordpress.org/savan91/) 2021年9月1日

Just added working automatically Relevant and Better!!

 [ 4件のレビューをすべて表示 ](https://wordpress.org/support/plugin/allow-only-last-item-in-cart/reviews/)

## 貢献者と開発者

Allow Only Last Item In Cart はオープンソースソフトウェアです。以下の人々がこのプラグ
インに貢献しています。

貢献者

 *   [ Savan Dholu ](https://profiles.wordpress.org/savan91/)

[“Allow Only Last Item In Cart” をあなたの言語に翻訳しましょう。](https://translate.wordpress.org/projects/wp-plugins/allow-only-last-item-in-cart)

### 開発に興味がありますか ?

[コードを閲覧](https://plugins.trac.wordpress.org/browser/allow-only-last-item-in-cart/)
するか、[SVN リポジトリ](https://plugins.svn.wordpress.org/allow-only-last-item-in-cart/)
をチェックするか、[開発ログ](https://plugins.trac.wordpress.org/log/allow-only-last-item-in-cart/)
を [RSS](https://plugins.trac.wordpress.org/log/allow-only-last-item-in-cart/?limit=100&mode=stop_on_copy&format=rss)
で購読してみてください。

## 変更履歴

#### 1.0

 * A change since the previous version.
 * Another change.

#### 0.5

 * List versions from most recent at top to oldest at bottom.

## メタ

 *  バージョン **1.0.0**
 *  最終更新日 **5年前**
 *  有効インストール数 **10未満**
 *  WordPress バージョン ** 5.7またはそれ以降 **
 *  検証済み最新バージョン: **5.7.21**
 *  PHP バージョン ** 7.0またはそれ以降 **
 *  言語
 * [English (US)](https://wordpress.org/plugins/allow-only-last-item-in-cart/)
 * タグ
 * [comments](https://ja.wordpress.org/plugins/tags/comments/)[spam](https://ja.wordpress.org/plugins/tags/spam/)
 *  [詳細を表示](https://ja.wordpress.org/plugins/allow-only-last-item-in-cart/advanced/)

## 評価

 5つ星中5つ星

 *  [  1 5-星レビュー     ](https://wordpress.org/support/plugin/allow-only-last-item-in-cart/reviews/?filter=5)
 *  [  0 4-星レビュー     ](https://wordpress.org/support/plugin/allow-only-last-item-in-cart/reviews/?filter=4)
 *  [  0 3-星レビュー     ](https://wordpress.org/support/plugin/allow-only-last-item-in-cart/reviews/?filter=3)
 *  [  0 2-星レビュー     ](https://wordpress.org/support/plugin/allow-only-last-item-in-cart/reviews/?filter=2)
 *  [  0 1-星レビュー     ](https://wordpress.org/support/plugin/allow-only-last-item-in-cart/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/allow-only-last-item-in-cart/reviews/#new-post)

[すべてのレビューを見る](https://wordpress.org/support/plugin/allow-only-last-item-in-cart/reviews/)

## 貢献者

 *   [ Savan Dholu ](https://profiles.wordpress.org/savan91/)

## サポート

意見や質問がありますか ?

 [サポートフォーラムを表示](https://wordpress.org/support/plugin/allow-only-last-item-in-cart/)

## 寄付

このプラグインが今後も改善できるよう応援しませんか ?

 [ このプラグインに寄付 ](https://www.virtualheight.com/)