Okay
  Public Ticket #3381217
Woocommerce Cart
Closed

Comments

  • peppy started the conversation

    Salve, 


    potete da un'occhiata al mio sito, nella apposita pagina delle prenotazioni: https://www.douglasiapark.it/prenotazioni/


    Per un utente non è possibile inserire nel carrello di Woocommerce più di una singola prenotazione di Amelia. Perchè quando viene inserita una seconda prenotazione, la prima prenotazione, inserita in precedenza, viene rimpiazzata dalla seconda. Sarebbe comodo che la seconda prenotazione si aggiungesse alla prima, rispettando la classica funzionalità di un carrello. In questo modo i miei clienti sono costretti a dover pagare ogni prenotazione singolarmente, facendo incidire sui miei guadagni le tasse fisse di ogni sistema di pagamento, oltre che avendo un esperienza di navigazione molto scomoda.

    Come posso fare a risolvere questo problema?


    Grazie per la risposta

  •  2,499
    Aleksandar replied

    Hello peppy.

    Please note that the official support language is English, and we have to use Google Translator to try and understand other languages. Since a lot can be lost in translation, we apologize in advance if we misunderstood some segments of your message, and we also ask you to please translate your future messages to English.

    Thank you for your understanding.

    The integration works this way, and it doesn't accept more than one product if an Amelia product is present. There's a possible workaround, though.

    Please note that this hasn't been thoroughly tested, but a few of our customers have confirmed that it works as expected.

    Please access this script: ../wp-content/plugins/ameliabooking/src/Infrastructure/WP/Integrations/WooCommerce/WooCommerceService.php and comment line 604, in the "addToCart" method:

    $wooCommerceCart->remove_cart_item($wc_key);
    9593492599.png

    This should allow you to add more than one appointment to the cart.

    Please let me know if it works.

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables