Tagged: 

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #733315

    Hi there,

    I have a problem with the unit-price in the shopping-cart (and also the cart in the sidebar). I use the plugin Woocommerce-germanized.

    The unit-price in the shopping cart appears in another line (that is correct). But it has a margin left of about 50 px and the price above has no margin. So the second price / unit price is offset.

    And the normal order of the unit price would be (as in the html-code): price – currency – / – unit (for example 9,20 € / l)
    But the order is: unit – price – currency – / (for example l9,20 € /)
    which doesn’t make any sense.

    I think it’s a problem with the css.
    Any help would be great, because in Germany it’s critical not to use the unit price correctly.

    Thanks!
    Joachim

    #733336

    Yes, the same here. Waiting for answer….

    #733344

    Hi!

    Can you please show us a screenshot of the problem, so we can be sure we located it properly?

    Thanks a lot

    Cheers!
    Basilis

    #733387

    Hi Basilis,

    thanks for your quick response! Made two screenshots.

    Best regards, Joachim

    • This reply was modified 7 years, 11 months ago by joachimott.
    #734731

    Hi,

    I tried to inspect the elements on the link in private content, but they do not appear. So could you fix it? if not we need to be able to see them/inspect. So let us know when you’re ready.

    Best regards,
    Andy

    #734900

    Hi,

    thanks for your help. I fear I don’t understand exactly, what I have to do next. Why do the elements not appear? The PDF? The unit price display on the website? So I ask in englisch and in german. Perhaps my problem is my bad english and there is someone in your team, who understands my german description.

    I did send you links to 2 PDFs with the screenshots. I tested the links to the PDFs, for me they work. I hope you can see them too.
    In your answer there are links for the two pages, where the links lead to. And they show the problem with the unit price (when you put something in your cart). The page cart and the shop page with the cart in the sidebar.

    So I think for the design you could have a look at the PDF, for css and the code you could look at the pages. I just controlled the pages in Chrome and Firefox. For me they show the same display of price and unit price in this way:
    +++++++++++++
    Column Preis:
    17,50 €
    l23,87 /
    +++++++++++++

    So what do I have to do now? I can also offer you an admin account. I thought it’s a css problem.

    Many thanks for your patience and your help!

    So, vielleicht kann ich mich in deutsch klarer ausdrücken oder vielleicht gibt es jemanden in eurem Team, der mich in deutsch besser versteht. Ich habe nicht verstanden, was bedeutet, dass die Elemente nicht erscheinen. Die Links funktionieren ja offensichtlich. Und die Darstellung auf den Seiten müsste ja die gleiche sein wie bei mir in drei verschiedenen Browsern auf meinem Mac. Außer das Problem ist ein Mac-Problem.

    Was kann ich konkret als nächstes tun? Ich kann gerne auch einen Admin-Zugang einrichten. Aber ich bin davon ausgegangen, dass es ein CSS-Problem ist.

    Vielen Dank für die Geduld und die Hilfe!

    Best regards,
    Joachim

    #735490

    Hi,

    it looks like this for me (see private content). I can’t see any issue on the links you’ve provided, so I can’t see what you’re showing on your PDFs.

    We need some precise link showing the elements in question, to be able to help you.

    Best regards,
    Andy

    #735529

    Hi,
    Thanks for your patience. Unfortunately you saw one product where I didn’t fill pout the unit price. Sorry.
    I send you two more detailled screenshots from the cart page and the cart in the sidebar.

    And I also send you two screenshots from another shop with another theme (example-right 1+2) where the price and the unit price are displayed as it should be.

    Best regards, Joachim

    #736342

    Hi,

    with CSS you can only change the styling of the elements. So use this code inside Quick CSS field:

    .product_list_widget .unit-price.unit-price-cart {
    position: relative;
    left: -48px;
    }
    span.unit-price.unit-price-cart {
    position: left;
    left: -50px;
    }

    Contact WooCommerce support about “Liter” being in a wrong position. They know their plugin best.

    Best regards,
    Andy

    #736624

    Hi joachimott, please take a look on wp backend -> woocommerce -> settings -> germanized -> display (Anzeige), scroll down to “grundpreis” – here you can format the price e.g.
    -Preis: {unit} {base_price} / Liter

    #736629

    Hi SDUS!

    Thanks so much!

    I spent so much time on css and the different css-files from enfold, wordpress, woocommerce and wooceommerce-germanized (I am no expert with this). And now it’s so easy. Great.

    For me worked perfectly: {base_price} / Liter

    You made my day!

    Best regards, Joachim

    #737076

    Hi,

    Great, glad you got it working :-)

    Please let us know if you should need any further help on the topic.

    Best regards,
    Rikard

Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.