- This topic has 4 replies, 3 voices, and was last updated 2 years, 11 months ago by
Tom.
-
AuthorPosts
-
February 16, 2020 at 2:15 pm #1167479
Heiko
hallo, wir bauen an einer website für den verkauf universal konfigurierter fenster und türen und verwenden hierfür das plugin uni cpo
vorher haben wir mit dem theme von divi gearbeite, was uns einige probleme bereitet hat. der entwickler von uni cpo will nun unterhalb des artikelbildes eine individuelle sidebar integrieren, was bei divi anscheinend nicht möglich war. dazu haben wir folgendes gemacht:
1. im theme ordner den ordner woocommerce anlegen
2. darin den ordner single-produkt anlegen
3, hier die datei produkt-image,php von woocommerce.org kopierenObwohl wir das alte divi theme gelöscht haben sagt der Entwickler von uni cpo das das markup von divi noch immer aktiv ist.
Hier sehen Sie die Mitteillung vom Entwickler
“It shows that what you did does not work. The markup is the old one.”https://fensterprofi24/screens/Screenshot-2020-02-16.png
Können Sie helfen ?
February 16, 2020 at 2:16 pm #1167481Heiko
Die Meldung liegt hier
https://www.fensterprofi24.de/screens/Screenshot-2020-02-16.png
February 16, 2020 at 4:29 pm #1167522Leo
StaffCustomer SupportHi there,
Sorry not sure if I understand.
What is the issue here? The class
woocommerce-main-image
?I’m not sure why there would be left over markup from the previous theme. Perhaps some sort of caching issue?
You could try checking with your hosting support.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/February 16, 2020 at 4:50 pm #1167524Heiko
Hallo vielleicht zur Erläuterung:
Es geht darum ein Widget als Sitebar unterhalb des Artikelbildes zu verwenden, Siehe bitte folgendes Beispiel:
https://www.fensterkaufen-24.de/produkt/kunststofffenster-aluplast/
Hier soll der Preis, ein Kauf Button und das Ergebnis der Konfiguration angezeigt werden. Der Entwickler des Plugins hat das vorher geschilderte Problem.
Er hat uns dazu folgende Aufgabe erteilt.
“Placing WC template file(s) like it is now should work. It is the official way for such customisation. Please, read here: https://docs.woocommerce.com/document/template-structure/ This:
How to Edit Files ↑ Back to topEdit files in an upgrade-safe way using overrides. Copy the template into a directory within your theme named /woocommerce keeping the same file structure but removing the /templates/ subdirectory.
Example: To override the admin order notification, copy: wp-content/plugins/woocommerce/templates/emails/admin-new-order.php to wp-content/themes/yourtheme/woocommerce/emails/admin-new-order.php
The copied file will now override the WooCommerce default template file.
And this is exactly what does not work in your theme! It was working. But now it does not work. So, please, fix this first. Again, this is between your theme and WC”
Vielleicht nehmen Sie direkt Kontakt mit dem Entwickler auf mr.psiho@gmail.com um das besser klären zu können.
February 16, 2020 at 7:50 pm #1167578Tom
Lead DeveloperLead DeveloperHi there,
GeneratePress itself shouldn’t interfere with the standard WooCommerce templating.
As a test, does the custom template work if you activate the default Twenty-Twenty theme?
I wonder if maybe you’re trying to overwrite the wrong template?
Let me know 🙂
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-development -
AuthorPosts
- You must be logged in to reply to this topic.