Verfasste Forenbeiträge

Ansicht von 6 Antworten - 1 bis 6 (von insgesamt 6)
  • Thread-Starter ceva

    (@ceva)

    Ich gehe davon aus, dass die Informationen in der content-single-product.php des Templates liegen. Hier mal der Code:

    <?php
    /**
    * The template for displaying product content in the single-product.php template
    *
    * Override this template by copying it to yourtheme/woocommerce/content-single-product.php
    *
    * @package WooCommerce
    * @since WooCommerce 1.6
    * @todo prepend class names with wc-
    */
    ?>

    <?php
    /**
    * woocommerce_before_single_product hook
    *
    * @hooked woocommerce_show_messages – 10
    */
    do_action( ‚woocommerce_before_single_product‘ );
    ?>

    <div itemscope itemtype=“http://schema.org/Product&#8220; id=“product-<?php the_ID(); ?>“ <?php post_class(); ?>>

    <?php
    /**
    * woocommerce_show_product_images hook
    *
    * @hooked woocommerce_show_product_sale_flash – 10
    * @hooked woocommerce_show_product_images – 20
    */
    do_action( ‚woocommerce_before_single_product_summary‘ );
    ?>

    <div class=“summary“>

    <?php
    /**
    * woocommerce_single_product_summary hook
    *
    * @hooked woocommerce_template_single_title – 5
    * @hooked woocommerce_template_single_price – 10
    * @hooked woocommerce_template_single_excerpt – 20
    * @hooked woocommerce_template_single_add_to_cart – 30
    * @hooked woocommerce_template_single_meta – 40
    * @hooked woocommerce_template_single_sharing – 50
    */
    do_action( ‚woocommerce_single_product_summary‘ );
    ?>

    </div><!– .summary –>

    <?php
    /**
    * woocommerce_after_single_product_summary hook
    *
    * @hooked woocommerce_output_product_data_tabs – 10
    * @hooked woocommerce_output_related_products – 20
    */
    do_action( ‚woocommerce_after_single_product_summary‘ );
    ?>

    </div><!– #product-<?php the_ID(); ?> –>

    <?php do_action( ‚woocommerce_after_single_product‘ ); ?>

    Thread-Starter ceva

    (@ceva)

    Ich benutze das Template gather von Theme Trust.

    Thread-Starter ceva

    (@ceva)

    Auch hier gibt es keinerlei Änderungen in der Darstellung.

    Thread-Starter ceva

    (@ceva)

    Das habe ich auch schon ausprobiert.
    In der content-single-product.php gibt es eine Stelle:

    <div class=“summary“>

    <?php
    /**
    * woocommerce_single_product_summary hook
    *
    * @hooked woocommerce_template_single_title – 5
    * @hooked woocommerce_template_single_price – 10
    * @hooked woocommerce_template_single_excerpt – 20
    * @hooked woocommerce_template_single_add_to_cart – 30
    * @hooked woocommerce_template_single_meta – 40
    * @hooked woocommerce_template_single_sharing – 50
    */
    do_action( ‚woocommerce_single_product_summary‘ );
    ?>

    </div><!– .summary –>

    Hatte hier versucht die Reihenfolge zu ändern,
    ist mir aber nicht gelungen.
    Es muss eine andere Stelle geben.

    Thread-Starter ceva

    (@ceva)

    Firebug habe ich installiert, es hat mich aber nicht weiter gebracht.
    Ich benötige die genaue Stelle, an der ich in der PHP Datei die CSS Anweisungen ändern kann bzw. die Reihenfolge bestimme.
    Wo ist der „Price“ in welcher Datei definiert und wie kann ich die Position ändern?

    Vielen Dank!

    Thread-Starter ceva

    (@ceva)

    I want to change in the single product view of the position of the WooCommerce price issue.
    Currently, the presentation is as follows:
    1. Product title
    2. Price
    3 Product image
    4. Text

    These should be changed as follows:
    1 Product image
    2. Product title
    3. Text
    4. Price

    Add, where can I find the css descriptions of WooCommerce?

    Best regards.

Ansicht von 6 Antworten - 1 bis 6 (von insgesamt 6)