Antwort #2 am: 16. März 2020, 12:56:30
Setze mal hier an:
includes/classes/shopping_cart.php
nach:
function add_cart($products_id, $qty = 1, $attributes = '', $notify = true) {
global $new_products_id_in_cart;
Einfügen:
// Beginn: Maximale Unterschiedliche Produkte im Warenkorb 1 if ($this->count_contents() > 0){ $this->reset(true); } // Ende: Maximale Unterschiedliche Produkte im Warenkorb 1 Damit macht der Merkzettel das was Du möchtest, allerdings ist es dann auch so, dass auch nur ein Produkt im Warenkorb landet, also ebenfalls bei Attributänderung das Produkt im Warenkorb ändert, was anderes fällt mir jetzt auch nicht ein.
Gruß