Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1370501
    riwaro
    Participant

    When I order a product and choose 10 pieces the right price for 10 pieces comes. If I go a step further and place the order in the basket shows me the shop the single price for the 10 ordered articles. I also need the total price. See pictures attached

    Info: I have installed Role Based Prices für WooCommerce
    Thomas

    #1370504
    riwaro
    Participant

    sorry the url: http://poly.riwaro.de/

    #1370591
    Nabeel A
    Moderator

    Hi there,

    Thanks for writing in! You could try testing for a plugin conflict. You can do this by deactivating all third party plugins, and seeing if the problem remains. If it’s fixed, you’ll know a plugin caused the problem, and you can narrow down which one by reactivating them one at a time.

    #1370749
    riwaro
    Participant

    There is no plugin conflict. This is apparently always displayed. But I need the total price. What can I do?

    Thomas

    #1370770
    Jade
    Moderator

    Hi Thomas,

    Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    #1370820
    riwaro
    Participant
    This reply has been marked as private.
    #1370883
    riwaro
    Participant

    Hello,
    Please do not change anything. I have a simpler idea. How can I simply place a text behind the prices. That would be enough.

    Excuse the confusion.

    Thomas

    #1371450
    Lely
    Moderator

    Hi Tomas,

    Can you clarify what you meant by this: How can I simply place a text behind the prices. ? What text and then give us screenshot of how you want it.

    #1371638
    riwaro
    Participant

    Hello,

    I wanted to place a text behind the price. Like unit price (Einzelpreis), or when the sum is calculated total price. If it’s too complicated, let’s do it. 🙂

    See picture attached

    Thomas

    #1371737
    Christopher
    Moderator

    Hi there,

    Please add following code in Customize -> Custom -> Global CSS :

    .summary span.woocommerce-Price-amount.amount:after {
        content: " Einzelpreis";
        color: #000;
    }

    Hope that helps.

    #1371836
    riwaro
    Participant

    Hi,
    Nearly perfect. If the quantity is 1 then “Einzelpreis” is to stand there. From quantity 2, “Summe” should appear.

    A thousand thanks You are the greatest

    #1372574
    Rad
    Moderator

    Hi there,

    Please add this code to Admin > Appearance > Customizer > Custom > Javascript

    jQuery ( function($) {
    
    function change_caption() {
    
    if($(this).val() > 1) {
    $('.summary span.woocommerce-Price-amount.amount').parent().addClass('larger_than_1');
    } else {
    $('.summary span.woocommerce-Price-amount.amount').parent().removeClass('larger_than_1');
    }
    }
    
    $('.input-text.qty.text').change( change_caption ).keyup( change_caption );
    
    } );

    Then add this CSS as well,

    .summary .larger_than_1 span.woocommerce-Price-amount.amount:after {
    content: " Summe" !important;
    }

    Hope this helps.

    #1372621
    riwaro
    Participant

    Great. Your support is really fantastic

    Thanks Thomas

    #1373052
    Prasant Rai
    Moderator

    You are most welcome. 🙂

  • <script> jQuery(function($){ $("#no-reply-1370501 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>