Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter stefanfis

    (@stefanfis)

    The external products should not be imported into the Woocommerce backend. The idea is something like this:
    – We get the product details via API and show them in our shop, on category pages as well as on product detail pages. (This is easy and not our problem.)
    – When a user wants to buy such an API product it should be added to the cart while fetching price and other details from that API, not from the Woocommerce backend.
    – It should be possible to buy products from our shop (products in our backend) as well as products from that external source (not in our backend) as a single purchase.

    Thread Starter stefanfis

    (@stefanfis)

    Hallo JP,

    da scheint “etwas” auf der Seite die <svg>s rauszufiltern

    das war der entscheidende Tipp! Wir nutzen in dem Projekt WP eher als Framework denn als klassisches Blogsystem. Deshalb müssen wir, aus verschiedensten Gründen, den content per strip_tags() filtern. Dort waren svgund path nicht als erlaubte Tags angegeben. Verwunderlich aber ist, warum das zuvor funktioniert hatte; erst mit dem Upgrade auf WP 4.6.1 und dem gleichzeitigen Upgrade eures Plugins trat das Problem auf.

    Nun ja, wir haben jetzt die automatische Einblendung der Buttons ausgeschaltet und blenden sie per Shortcode ein, der dann nicht gefiltert wird und alles sieht wieder gut aus.

    Danke für die schnelle und kompetente Hilfe!
    Stefan

Viewing 2 replies - 1 through 2 (of 2 total)