Okay
  Public Ticket #2360817
Checkout w/Woocommerce
Closed

Comments

  •  2
    Katherine Fung started the conversation

    I'm using Amelia in conjunction with Woocommerce. I have two questions: 

    1. After I select the booking date, I click "continue" to go to the Amelia confirmation form. After I click "confirm," it goes to the woocommerce cart where I am then asked to checkout, and then go to the checkout page. 

    Is it possible to go directly from the Amelia confirmation form to the checkout page, or to click continue from the booking calender to go directly to the woocommerce cart? It feels redundant to have both. 

    2. On the woocommerce checkout page, is it possible to hide certain elements like "Local time," "employee" and "Total number of persons"? 

    I have added the following to the CSS, but it's not working: 

    #post-718 > div > div > div> form > table > tbody > tr.woocommerce-cart-form__cart-item.cart_item > td.product-name > dl > dt > dd > p {display:none;}


    Thank you! 

  •   [deleted] replied privately
  •  2
    Katherine Fung replied

    Thank you!! 

    Would it be possible to provide the original code for WooCommerceService.php?

    I tried to update it with the code below, but now the site says "There has been a critical error on your website." I want to restore the original version, and then try again. 


  •   [deleted] replied privately
  •  2
    Katherine Fung replied

    Thank you! The code doesn't work for me -- after I press "confirm," the hourglass keeps spinning. Do you know why? 

    The URL for the cart part is: https://porchlightcommunity.org/?page_id=718 


  • [deleted] replied

    Hello Katherine, 

    Could you please send me the page where you have Amelia on? Thank you!

  •   [deleted] replied privately
  •  2
    Katherine Fung replied

    Thank you, this worked perfectly! 

    On my second question, under the "your order section," is it possible to change "Client time" to say "Time" and remove the time zone "(UTC-04:00)"? 

    It's this page: https://porchlightcommunity.org/?page_id=719

    Thanks again for your help. 


  • soydanielromero replied

    You can go directly from amelia to checkout using cartflows plugin to avoid cart page to be called.

  • [deleted] replied

    Hello Katherine, 

    Apologies for replying late, we had a couple of non-working days, Friday - Monday, due to a national holiday. 

    You are welcome! Great, glad to hear that!

    If the string is coming from Amelia, you can edit it using the translation method of the plugin: 

    Strings can be changed using POEDIT or Loco Translate for example. If you want to use POEDIT then this is the instruction:

    1. Download Amelia from TMS Store

    2. Unzip the downloaded file.

    3. Download and install POEDIT

    4. Open the program and open the file from the extracted folder on your computer ameliabooking/languages/fr_FR/wpamelia-fr_FR.po.

    5. Find and change the strings you want.

    6. Save the translation.

    7. Go to ameliabooking/languages/fr_FR/ folder and copy these two files - wpamelia-fr_FR.po and wpamelia-fr_FR.mo back to your website to the location ../wp-content/plugins/ameliabooking/languages/fr_FR/.

    This is an example for French language, but you will choose yours. Please note that you will need to replace the files after each update of Amelia, as it will be overridden when you update the plugin.


    For the part that you want to hide please send me a screenshot of what exactly you want to hide and send me a link of the page where you have Amelia on , as for the URL you sent me I get the attached. And I will try to help out if possible!


    Hello soydanielromero, 

    Thank you for the suggestion, but it can be customized in Amelia directly, no need of another pluginsmile.png