• selbers

    (@selbers)


    Hi there,

    I am having a problem with product descriptions causing issues when displayed on the shop page.

    I need the descriptions to display under each individual product, and have managed to get that right by adding an action to my functions.php.

    The problem is that I need the products to display in a certain order, and when no description shows on the shop page, this works perfectly. But, as soon as I enable descriptions on the shop page, the products get shifted around, and are no longer in the correct order.

    I have tried everything to get this to work, but just can’t figure it out. Adding css instead of php does exactly the same thing.

    I have gone back to the sort tab on the products page and made sure everything is in order there (which it is), yet the products display in a different order on the actual site once descriptions are visible.

    Any idea what might be causing this?

    The site is currently under maintenance, so I have not provided a link. Please let me know if this is absolutely required.

    Thank you in advance for the help! I appreciate it!

    My System Status below. I am aware that my PHP needs to be updated, and have contacted my host.

    ### WordPress Environment ###

    Home URL: https://tastebuddy.co.za
    Site URL: https://tastebuddy.co.za
    WC Version: 2.6.7
    Log Directory Writable:
    WP Version: 4.6.1
    WP Multisite: –
    WP Memory Limit: 128 MB
    WP Debug Mode: –
    WP Cron:
    Language: en_ZA

    ### Server Environment ###

    Server Info: LiteSpeed
    PHP Version: 5.5.38 – We recommend a minimum PHP version of 5.6. See: How to update your PHP version
    PHP Post Max Size: 64 MB
    PHP Time Limit: 30
    PHP Max Input Vars: 1000
    cURL Version: 7.36.0
    OpenSSL/1.0.1e

    SUHOSIN Installed:
    Max Upload Size: 64 MB
    Default Timezone is UTC:
    fsockopen/cURL:
    SoapClient:
    DOMDocument:
    GZip:
    Multibyte String:
    Remote Post:
    Remote Get:

    ### Database ###

    WC Database Version: 2.6.7
    :
    woocommerce_sessions:
    woocommerce_api_keys:
    woocommerce_attribute_taxonomies:
    woocommerce_downloadable_product_permissions:
    woocommerce_order_items:
    woocommerce_order_itemmeta:
    woocommerce_tax_rates:
    woocommerce_tax_rate_locations:
    woocommerce_shipping_zones:
    woocommerce_shipping_zone_locations:
    woocommerce_shipping_zone_methods:
    woocommerce_payment_tokens:
    woocommerce_payment_tokenmeta:
    MaxMind GeoIP Database:

    ### Active Plugins (14) ###

    Redux Framework: by Team Redux – 3.6.2
    Black Studio TinyMCE Widget: by Black Studio – 2.2.12
    Caldera Forms: by CalderaWP – 1.4.3.1
    Google Analytics by MonsterInsights: by MonsterInsights – 5.5.4
    Jetpack by WordPress.com: by Automattic – 4.3.2
    Collapse-O-Matic: by twinpictures
    baden03 – 1.7.3

    Loginizer: by Raj Kothari – 1.3.1
    Maintenance: by fruitfulcode – 3.1.1
    Page Builder by SiteOrigin: by SiteOrigin – 2.4.17
    SiteOrigin Widgets Bundle: by SiteOrigin – 1.7.1
    Virtue / Pinnacle ToolKit: by Kadence Themes – 3.6
    WooCommerce Google Analytics Integration: by WooThemes – 1.4.0
    WooCommerce: by WooThemes – 2.6.7
    Yoast SEO: by Team Yoast – 3.7.1

    ### Settings ###

    Force SSL: –
    Currency: ZAR (R)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2

    ### API ###

    API Enabled:

    ### WC Pages ###

    Shop Base: #33 – /whats-for-lunch/
    Basket: #959 – /basket/
    Checkout: #962 – /checkout/
    My Account: #965 – /my-account/

    ### Taxonomies ###

    Product Types: external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)

    ### Theme ###

    Name: Virtue Child Theme
    Version: 1.0.0
    Author URL: https://kadencethemes.com/
    Child Theme:
    Parent Theme Name: Virtue
    Parent Theme Version: 2.8.4
    Parent Theme Author URL: https://kadencethemes.com/
    WooCommerce Support:

    ### Templates ###

    Overrides: virtue/woocommerce/archive-product.php
    virtue/woocommerce/content-product.php
    virtue/woocommerce/content-product_cat.php
    virtue/woocommerce/content-single-product.php
    virtue/woocommerce/loop/loop-end.php
    virtue/woocommerce/loop/loop-start.php
    virtue/woocommerce/loop/price.php
    virtue/woocommerce/loop/rating.php
    virtue/woocommerce/loop/sale-flash.php
    virtue/woocommerce/single-product/add-to-cart/external.php
    virtue/woocommerce/single-product/add-to-cart/grouped.php
    virtue/woocommerce/single-product/add-to-cart/simple.php
    virtue/woocommerce/single-product/add-to-cart/variable.php
    virtue/woocommerce/single-product/price.php
    virtue/woocommerce/single-product/product-image.php
    virtue/woocommerce/single-product/product-thumbnails.php
    virtue/woocommerce/single-product/sale-flash.php
    virtue/woocommerce/single-product.php
    virtue/woocommerce/taxonomy-product_cat.php
    virtue/woocommerce/taxonomy-product_tag.php

    `

Viewing 1 replies (of 1 total)
  • Thread Starter selbers

    (@selbers)

    Edit:

    I have noticed that the products only move around on Internet explorer and Chrome. They seem to stay in place on mobile browsers.

    Don’t know if this helps at all ??

Viewing 1 replies (of 1 total)
  • The topic ‘Product descriptions causing problems with product display order’ is closed to new replies.