Okay
  Public Ticket #2241727
Checkout process
Closed

Comments

  •  1
    raymond0000 started the conversation

    We do not want the custom fields or user information being passed to the woo commerce basket or checkout. It makes the website look really silly and not usable.

  • [deleted] replied

    Hello raymond0000, 

    Unfortunately, this can't be changed with Amelia's current built-in features. But I will forward your request to the development team so they can check if and how this could be changed. 

    If you have any further questions or concerns feel free to ask,

  •  1
    raymond0000 replied

    Please let me know asap how this can be done other wise the feature for using woo commerce integration is of no use to WP Amelia 

  • [deleted] replied

    Hello raymond0000, 

    I understand your point of view, but we have a lot of users who use WooCommerce with Amelia this way. Many of them want those information there. 

    There isn't an option to change this now, unfortunately, but I will get back to you as soon as I get an answer from the developers if and how this can be changed. Since this is custom work I can't guarantee anything. 

    You can probably just hide custom fields on the front end with custom CSS though, you would need to find the selector for each custom field that you have and add custom HTML to your Cart and Checkout page:

    <style>
    #post-207 > div > div > form > div > table > tbody > tr.woocommerce-cart-form__cart-item.cart_item > td.product-name > div > div > dl > dd > p:nth-child(8) 
    {display:none;} 
    </style>

    You need to find the selector and put them instead of this part: 

    #post-207 > div > div > form > div > table > tbody > tr.woocommerce-cart-form__cart-item.cart_item > td.product-name > div > div > dl > dd > p:nth-child(8)


    Hope this helps,

    If you have any further questions or concerns feel free to ask,

  •  1
    raymond0000 replied

    How do we find the selector?

  •  1
    raymond0000 replied

    Please can you provide further assistance, our courses can't sell due to display options, all this information is not necessary to show in the cart:


    Appointment Appointment Info:

    local time: december 18, 2019 1:30 pm

    courses: taster session

    instructor: steve craig

    total number of persons: 1

    custom fields:

    please read the above before you proceed to booking: i confirm i meet the above requirements 

    date of birth: 09.11.1974

    please enter your full address: 164A Alder Road, Poole, Dorset, BH12 4AX

    please enter additional persons name if you selected this option:

  • [deleted] replied

    Hello raymond0000, 

    Please note that this is custom work, since this requires changes in the code, and this is not covered by our support. The development team is currently very busy with preparing the new update and they won't have time for customization in the near future. If you are a developer they can provide some guidance where and what to change and you would need to change this after each update since we can't change it in Amelia in general. 

    If you want to hide these elements you need to right click on the pages (view mode) where you want to hide it (cart/checkout) and click on 'Inspect'. In the elements tab you need to find the element that you want to hide and right click on it and choose 'Copy selector' and paste it in the code I previously sent you. You need to add that script on the pages where you want to hide the elements (woocommerce cart and checkout page).