Tagged: shopping cart
-
AuthorPosts
-
January 13, 2017 at 8:34 pm #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!
JoachimJanuary 13, 2017 at 10:07 pm #733336Yes, the same here. Waiting for answer….
January 13, 2017 at 10:57 pm #733344Hi!
Can you please show us a screenshot of the problem, so we can be sure we located it properly?
Thanks a lot
Cheers!
BasilisJanuary 14, 2017 at 12:18 am #733387Hi Basilis,
thanks for your quick response! Made two screenshots.
Best regards, Joachim
- This reply was modified 7 years, 10 months ago by joachimott.
January 17, 2017 at 3:00 pm #734731Hi,
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,
AndyJanuary 17, 2017 at 6:39 pm #734900Hi,
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,
JoachimJanuary 18, 2017 at 7:28 pm #735490Hi,
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,
AndyJanuary 18, 2017 at 8:54 pm #735529Hi,
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
January 20, 2017 at 11:02 am #736342Hi,
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,
AndyJanuary 20, 2017 at 7:50 pm #736624Hi 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
January 20, 2017 at 8:14 pm #736629Hi 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
January 23, 2017 at 4:48 am #737076 -
AuthorPosts
- You must be logged in to reply to this topic.