Forum Replies Created

Viewing 15 replies - 1 through 15 (of 22 total)
  • Thread Starter sugilite

    (@sugilite)

    Hi Adam, Thank you again for the incredible speed of your replies! OK, I checked with ftp (I should of done that prior – doh) and yes, they are there – kind of. For every image I upload, I have 3 additional sizes that get created, (120px, 260px and 510px,) With create jpg’s ticked, for some reason it only produces a 260px and original size in webp and the rest are jpeg. When I select just webp, all the size varients appear in webp. I compared the sizes of the missing webp versions (120px and 510px) and they are both smaller than their jpeg cousins. So the reason the 2 webp versions were not generated was not that they would of been larger than the jpeg versions.

    The other issue is one is not offered the ability to attach photos to a woocommerce product from a url field. Woocommerce only allows images to be attached via the media library. So it would appear my choice is to either use webp exclusively and exclude customers with older browsers to seeing the images, or to use jpg exclusively and take the additional file size loading hit.

    I’m assuming there is no way to either show both jpeg and webp variants in the media library? Or better still, have the ability to show both, or just the one type of variant in the media library? The latter would avoid the confusion of seeing seemingly identical images in the media library without knowing a given images “flavor” without clicking on it to read it’s details. I can upload as many as 12 images per product in woocommerce, and as each product is a one off, many get added every week.

    Thank you again Adam for your stellar support!

    Thread Starter sugilite

    (@sugilite)

    Hi Adam, Thank you for the super speedy response! My apologies, I did mean to mention that once I had turned the option off and was uploading webp’s again, I did check the file size, and the webp versions were considerably smaller! Thank you. Please find info as requested below…..

    I cannot find any attachment option for the photos sorry, so will provide some links instead….

    https://test-site.majestic-quartz.com/wp-content/uploads/2024/04/M2006-1.jpg https://test-site.majestic-quartz.com/wp-content/uploads/2024/04/M2002-.jpg and this is the webp versio of the photo in the previous link https://test-site.majestic-quartz.com/wp-content/uploads/2024/04/M2002-1-1-jpg.webp (jpg = 125 kb’s – webp version = 79 kb (which is awesome! :-D)

    ` wp-core
    
    version: 6.5.2
    site_language: en_US
    user_language: en_US
    timezone: America/North_Dakota/Beulah
    permalink: /%postname%/
    https_status: true
    multisite: false
    user_registration: 0
    blog_public: 1
    default_comment_status: undefined
    environment_type: production
    user_count: 1538
    dotorg_communication: true wp-paths-sizes
    
    wordpress_path: /home/mqtest/public_html
    wordpress_size: 23.04 GB (24735870179 bytes)
    uploads_path: /home/mqtest/public_html/wp-content/uploads
    uploads_size: 6.93 GB (7443696431 bytes)
    themes_path: /home/mqtest/public_html/wp-content/themes
    themes_size: 75.71 MB (79389488 bytes)
    plugins_path: /home/mqtest/public_html/wp-content/plugins
    plugins_size: 315.04 MB (330345521 bytes)
    database_size: 621.24 MB (651421871 bytes)
    total_size: 30.96 GB (33240723490 bytes) wp-dropins (4)
    
    advanced-cache.php: true
    db.php: true
    maintenance.php: true
    object-cache.php: true wp-active-theme
    
    name: Shoptimizer Child Theme (shoptimizer-child-theme)
    version: 1.2.2
    author: CommerceGurus
    author_website: (undefined)
    parent_theme: Shoptimizer (shoptimizer)
    theme_features: core-block-patterns, block-templates, post-thumbnails, automatic-feed-links, custom-logo, menus, html5, site-logo, woocommerce, wc-product-gallery-zoom, wc-product-gallery-lightbox, wc-product-gallery-slider, title-tag, customize-selective-refresh-widgets, align-wide, widgets
    theme_path: /home/mqtest/public_html/wp-content/themes/shoptimizer-child-theme
    auto_update: Disabled wp-parent-theme
    
    name: Shoptimizer (shoptimizer)
    version: 2.7.6
    author: CommerceGurus
    author_website: https://www.commercegurus.com/
    theme_path: /home/mqtest/public_html/wp-content/themes/shoptimizer
    auto_update: Disabled wp-themes-inactive (5)
    
    Divi: version: 4.24.3, author: Elegant Themes, Auto-updates disabled
    Divi Child: version: 1.0.0, author: Elegant Themes, Auto-updates disabled
    Twenty Twenty-Four: version: 1.1, author: the WordPress team, Auto-updates disabled
    Twenty Twenty-Three: version: 1.4, author: the WordPress team, Auto-updates disabled
    Twenty Twenty-Two: version: 1.7, author: the WordPress team, Auto-updates disabled wp-plugins-active (43)
    
    amr shortcode any widget: version: 4.0, author: anmari, Auto-updates disabled
    Booster Plus for WooCommerce: version: 7.1.3, author: Pluggabl LLC, Auto-updates disabled
    CommerceGurus CommerceKit: version: 2.3.0.1, author: CommerceGurus, Auto-updates disabled
    Custom Product Tabs for WooCommerce: version: 1.8.5, author: Code Parrots, Auto-updates disabled
    Custom Product Tabs Pro: version: 1.2.4, author: YIKES, Inc., Auto-updates disabled
    Disable Bloat for WordPress & WooCommerce: version: 3.4.8, author: Disable Bloat, Auto-updates disabled
    Disable Gutenberg: version: 3.1.1, author: Jeff Starr, Auto-updates disabled
    Docket Cache: version: 23.08.02, author: Nawawi Jamili, Auto-updates disabled
    Easy Updates Manager: version: 9.0.17, author: Easy Updates Manager Team, Auto-updates disabled
    Elementor: version: 3.21.1, author: Elementor.com, Auto-updates disabled
    Health Check & Troubleshooting: version: 1.7.0, author: The www.ads-software.com community, Auto-updates disabled
    HTML in Category Descriptions: version: 1.2.4, author: Arno Esterhuizen, Auto-updates disabled
    Image Placeholders: version: 1.1.0, author: WordPress Performance Team, Auto-updates disabled
    Kirki Customizer Framework: version: 5.1.0, author: Themeum, Auto-updates disabled
    Limit Login Attempts Reloaded: version: 2.26.8, author: Limit Login Attempts Reloaded, Auto-updates disabled
    Login or Logout Menu Item: version: 1.2.3, author: cartpauj, Auto-updates disabled
    LoginWP (Formerly Peter's Login Redirect): version: 3.0.8.5, author: LoginWP Team, Auto-updates disabled
    MailPoet: version: 4.48.2, author: MailPoet, Auto-updates disabled
    Media Library Folders: version: 8.2.1, author: Max Foundry, Auto-updates disabled
    Media Library Folders Reset: version: 8.2.1, author: Max Foundry, Auto-updates disabled
    Modern Image Formats: version: 1.1.0, author: WordPress Performance Team, Auto-updates disabled
    Nav Menu Roles: version: 2.1.2, author: Kathy Darling, Auto-updates disabled
    Performance Lab: version: 3.0.0, author: WordPress Performance Team, Auto-updates disabled
    Query Monitor: version: 3.15.0, author: John Blackbourn, Auto-updates disabled
    Really Simple SSL: version: 8.0.0, author: Really Simple Plugins, Auto-updates disabled
    Real Testimonials Pro: version: 3.0.0, author: ShapedPlugin, Auto-updates disabled
    Redirection: version: 5.4.2, author: John Godley, Auto-updates disabled
    Smart Custom 404 error page [404page]: version: 11.4.6, author: Peter Raschendorfer, Auto-updates disabled
    ThumbPress: version: 4.3.1, author: Codexpert, Inc, Auto-updates disabled
    UpdraftPlus - Backup/Restore: version: 2.24.2.26, author: UpdraftPlus.Com, DavidAnderson, Auto-updates disabled
    WC Restore the Purchased Items Column in Orders Page: version: 1.3, author: Rynaldo Stoltz, Auto-updates disabled
    Windcave Gateway for WooCommerce: version: 1.1.9, author: Windcave, Auto-updates disabled
    Wish List for WooCommerce Pro: version: 2.1.5, author: WPFactory, Auto-updates disabled
    WooCommerce: version: 8.8.2, author: Automattic, Auto-updates disabled
    WooCommerce Admin Bar Addition: version: 2.7.0, author: David Decker - DECKERWEB, Auto-updates disabled
    WooCommerce Colors: version: 1.0.7, author: WooThemes, Auto-updates disabled
    WooCommerce Legacy REST API: version: 1.0.1, author: WooCommerce, Auto-updates disabled
    WooCommerce Products Slider: version: 2.2.31, author: PickPlugins, Auto-updates disabled
    WP Mail SMTP Pro: version: 4.0.2, author: WP Mail SMTP, Auto-updates disabled
    WP Rocket: version: 3.15.10, author: WP Media, Auto-updates disabled
    WP Rocket | Custom Sitemap Preload Intervals: author: WP Rocket Support Team, version: (undefined), Auto-updates disabled
    YITH Infinite Scrolling: version: 1.21.0, author: YITH, Auto-updates disabled
    Yoast SEO: version: 22.5, author: Team Yoast, Auto-updates disabled wp-plugins-inactive (21)
    
    Add-on Contact Form 7 - Mailpoet 3: version: 1.3.20, author: Tikweb, Auto-updates disabled
    Advanced Editor Tools: version: 5.9.2, author: Automattic, Auto-updates disabled
    Asset CleanUp: Page Speed Booster: version: 1.3.9.3, author: Gabe Livan, Auto-updates disabled
    CategoryTinymce 5: version: 5.3.2, author: Kevin Heath, Auto-updates disabled
    Classic Widgets: version: 0.3, author: WordPress Contributors, Auto-updates disabled
    Contact Form 7: version: 5.9.3, author: Takayuki Miyoshi, Auto-updates disabled
    Fast Secure reCAPTCHA: version: 1.0.20, author: fastsecure, Auto-updates disabled
    FiboSearch - AJAX Search for WooCommerce (Pro): version: 1.27.1, author: FiboSearch Team, Auto-updates disabled
    Kadence WooCommerce Email Designer: version: 1.5.12, author: Kadence WP, Auto-updates disabled
    Login Designer: version: 1.6.3, author: LoginDesigner, Auto-updates disabled
    Maintenance: version: 4.08, author: WebFactory Ltd, Auto-updates disabled
    NinjaScanner: version: 3.2, author: The Ninja Technologies Network, Auto-updates disabled
    Password Strength Settings for WooCommerce: version: 3.0.1, author: Daniel Santoro, Auto-updates disabled
    Restore Classic Widgets: version: 3.7, author: Bill Minozzi, Auto-updates disabled
    Specific Content for Mobile: version: 0.1.9.7, author: Jose Mortellaro, Auto-updates disabled
    Widget Logic: version: 5.10.4, author: WPChef, Auto-updates disabled
    WooCommerce PayPal Payments: version: 2.6.1, author: WooCommerce, Auto-updates disabled
    WooCommerce Simple Storewide Sale: version: 1.1.8, author: wpgenie, Auto-updates disabled
    Woo Stickers by Webline: version: 1.1.9, author: Weblineindia, Auto-updates disabled
    WooThumbs for WooCommerce by Iconic: version: 5.6.0, author: Iconic, Auto-updates disabled
    WP Night Mode: version: 1.0.6, author: Marko Arula, Auto-updates disabled wp-media
    
    image_editor: WP_Image_Editor_Imagick
    imagick_module_version: 1690
    imagemagick_version: ImageMagick 6.9.10-68 Q16 x86_64 2024-01-12 https://imagemagick.org
    imagick_version: 3.7.0
    file_uploads: 1
    post_max_size: 256M
    upload_max_filesize: 256M
    max_effective_size: 256 MB
    max_file_uploads: 20
    imagick_limits:
    imagick::RESOURCETYPE_AREA: 30 GB
    imagick::RESOURCETYPE_DISK: 9.2233720368548E+18
    imagick::RESOURCETYPE_FILE: 12288
    imagick::RESOURCETYPE_MAP: 30 GB
    imagick::RESOURCETYPE_MEMORY: 15 GB
    imagick::RESOURCETYPE_THREAD: 1
    imagick::RESOURCETYPE_TIME: 9.2233720368548E+18
    imagemagick_file_formats: 3FR, 3G2, 3GP, AAI, AI, ART, ARW, AVI, AVS, BGR, BGRA, BGRO, BMP, BMP2, BMP3, BRF, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CRW, CUR, CUT, DATA, DCM, DCR, DCX, DDS, DFONT, DNG, DOT, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, EXR, FAX, FILE, FITS, FRACTAL, FTP, FTS, G3, G4, GIF, GIF87, GRADIENT, GRAY, GRAYA, GROUP4, GV, H, HALD, HDR, HISTOGRAM, HRZ, HTM, HTML, HTTP, HTTPS, ICB, ICO, ICON, IIQ, INFO, INLINE, IPL, ISOBRL, ISOBRL6, J2C, J2K, JNG, JNX, JP2, JPC, JPE, JPEG, JPG, JPM, JPS, JPT, JSON, K25, KDC, LABEL, M2V, M4V, MAC, MAGICK, MAP, MASK, MAT, MATTE, MEF, MIFF, MKV, MNG, MONO, MOV, MP4, MPC, MPEG, MPG, MRW, MSL, MSVG, MTV, MVG, NEF, NRW, NULL, ORF, OTB, OTF, PAL, PALM, PAM, PANGO, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PGX, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG48, PNG64, PNG8, PNM, PPM, PREVIEW, PS, PS2, PS3, PSB, PSD, PTIF, PWP, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGBA, RGBO, RGF, RLA, RLE, RMF, RW2, SCR, SCT, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, STEGANO, SUN, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIFF, VIPS, VST, WBMP, WMF, WMV, WMZ, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, YCbCr, YCbCrA, YUV
    gd_version: bundled (2.1.0 compatible)
    gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM
    ghostscript_version: 9.25 wp-server
    
    server_architecture: Linux 3.10.0-1160.114.2.el7.x86_64 x86_64
    httpd_software: Apache
    php_version: 8.1.28 64bit
    php_sapi: cgi-fcgi
    max_input_variables: 5000
    time_limit: 90
    memory_limit: 1024M
    max_input_time: 60
    upload_max_filesize: 256M
    php_post_max_size: 256M
    curl_version: 8.7.1 OpenSSL/1.1.1w
    suhosin: false
    imagick_availability: true
    pretty_permalinks: true
    htaccess_extra_rules: true
    current: 2024-04-22T08:54:30+00:00
    utc-time: Monday, 22-Apr-24 08:54:30 UTC
    server-time: 2024-04-22T03:54:23-05:00 wp-database
    
    extension: mysqli
    server_version: 10.6.17-MariaDB-log
    client_version: mysqlnd 8.1.28
    max_allowed_packet: 268435456
    max_connections: 400 wp-constants
    
    WP_HOME: undefined
    WP_SITEURL: undefined
    WP_CONTENT_DIR: /home/mqtest/public_html/wp-content
    WP_PLUGIN_DIR: /home/mqtest/public_html/wp-content/plugins
    WP_MEMORY_LIMIT: 1024M
    WP_MAX_MEMORY_LIMIT: 1024M
    WP_DEBUG: false
    WP_DEBUG_DISPLAY: false
    WP_DEBUG_LOG: true
    SCRIPT_DEBUG: false
    WP_CACHE: true
    CONCATENATE_SCRIPTS: undefined
    COMPRESS_SCRIPTS: undefined
    COMPRESS_CSS: undefined
    WP_ENVIRONMENT_TYPE: Undefined
    WP_DEVELOPMENT_MODE: undefined
    DB_CHARSET: utf8mb4
    DB_COLLATE: undefined wp-filesystem
    
    wordpress: writable
    wp-content: writable
    uploads: writable
    plugins: writable
    themes: writable wp_mail_smtp
    
    version: 4.0.2
    license_key_type: pro
    debug: No debug notices found.
    pro_install_date: Jun 14, 2021 @ 1:02am
    email_log_entries: 11196
    Thread Starter sugilite

    (@sugilite)

    Yes, it has been resolved. Thank You!

    Me too!

    Thread Starter sugilite

    (@sugilite)

    Thank You Peter,
    Could not ask for more.
    Have a great day!

    Thread Starter sugilite

    (@sugilite)

    Hi Marko,
    You sir are a star! That worked perfectly.
    Again, Thank You so very much for making and supporting such an outstanding plugin!

    Thank You so much for your super fast reply and help.
    I will give it another crack.
    Thank You again!

    @contemplate , Thanks for your post.
    I tried that, but when i went to save a new product I got the following msg…

    Your Save Has Failed

    An error has occurred while saving your page. Various problems can cause a save to fail, yadda, yadda.
    While the msg is displayed, it does save in the background, but then the page layout is totally corrupted on the front end.

    When i put back unedited tabs.php, it saves as normal. Minus hack obviously.

    I would really appreciate it if you could please try adding a new test product and see if it happens to you?

    Thank You

    • This reply was modified 4 years, 8 months ago by sugilite.

    Update and Warning
    I did the above on Divi 4.2.2
    Today I noticed that there was a divi update (ver 4.3.1) and I updated, whereupon the yikes tabs stopped working again. Rolling back the theme did not restore the tabs either.
    I ended up having to roll back to an pre upgrade snapshot on my AWS server.
    So if you want the above to work, you must have version 4.2.2. – Hardly ideal I know.
    It is almost like Divi are actively not wanting third party tabs to work.
    (I did remove Freddies code to see if they had fixed it, but alas, no.)

    Hi All,
    I do not know much, but I do try a lot of things, and after having the same problem everyone else is with this divi woo module issue. I think (unless I missed something) that I have found a have your cake and eat it too hybrid solution to it.
    I loaded up the child theme Freddie very helpfully made.
    I then went into wootabs module, then to advanced/CSS/Main Element and pasted in the short code Freddie mentions [custom_product_tabs] ignoring the “expected RBrace” msg and saved. Viewed on the front end and WAMMO I had both the yikes tab and the one remaining woocommerce tab I wanted shown. So I had both kinds of tab running within the woo tab module! Stoked.
    As an added bonus, the divi woo module tab colors customization worked for both tabs too.
    BTW Freddie, your work got me buying pro lol
    Hopefully the screenshot has loaded below…I almost never post in these forums, so fingers crossed.


    resulting in…

    Hope this helps some folks as much as Freddies work helped me. ??

    • This reply was modified 4 years, 8 months ago by sugilite.
    • This reply was modified 4 years, 8 months ago by sugilite.

    Does for me, and I’m running WordPress 4.9 and Woocommerce 3.2.4

    Thread Starter sugilite

    (@sugilite)

    OK, I just sorted this out myself – I have simply reordered the options and turned the “General” tab label into “price” which quite frankly makes a lot more sense. So now I have the SKU field at the top of the tabs, and “price” in the tab lower down – yes!

    Name of the file and path to it is…
    wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-product-data.php
    And the code to paste in place of what is currently there is the following.
    /**
    * Return array of tabs to show.
    * @return array
    */
    private static function get_product_data_tabs() {
    return apply_filters( ‘woocommerce_product_data_tabs’, array(
    ‘inventory’ => array(
    ‘label’ => __( ‘Inventory’, ‘woocommerce’ ),
    ‘target’ => ‘inventory_product_data’,
    ‘class’ => array( ‘show_if_simple’, ‘show_if_variable’, ‘show_if_grouped’, ‘show_if_external’ ),
    ),
    ‘general’ => array(
    ‘label’ => __( ‘Price’, ‘woocommerce’ ),
    ‘target’ => ‘general_product_data’,
    ‘class’ => array( ‘hide_if_grouped’ ),

    ),
    ‘shipping’ => array(
    ‘label’ => __( ‘Shipping’, ‘woocommerce’ ),
    ‘target’ => ‘shipping_product_data’,
    ‘class’ => array( ‘hide_if_virtual’, ‘hide_if_grouped’, ‘hide_if_external’ ),
    ),
    ‘linked_product’ => array(
    ‘label’ => __( ‘Linked Products’, ‘woocommerce’ ),
    ‘target’ => ‘linked_product_data’,
    ‘class’ => array(),
    ),
    ‘attribute’ => array(
    ‘label’ => __( ‘Attributes’, ‘woocommerce’ ),
    ‘target’ => ‘product_attributes’,
    ‘class’ => array(),
    ),
    ‘variations’ => array(
    ‘label’ => __( ‘Variations’, ‘woocommerce’ ),
    ‘target’ => ‘variable_product_options’,
    ‘class’ => array( ‘variations_tab’, ‘show_if_variable’ ),
    ),
    ‘advanced’ => array(
    ‘label’ => __( ‘Advanced’, ‘woocommerce’ ),
    ‘target’ => ‘advanced_product_data’,
    ‘class’ => array(),
    ),
    ) );
    }

    Enjoy folks ??

    Thread Starter sugilite

    (@sugilite)

    Heyya esp5466,
    They have completely rewritten the page for this for version 3.0 series…any ideas on how to move the SKU now????
    Fingers crossed, because my eyes are crossed trying to work out how they position stuff with this new version!!!

    Thread Starter sugilite

    (@sugilite)

    Hi There,
    THANK YOU so much for this code!!!
    Initially it did not work for me, until I added the last part of the “SKU code
    if ( ‘yes’ === get_option( ‘woocommerce_manage_stock’ ) ) {

    I “cut” the code out so the SKU did not show up[ in two different places within the add product page.
    So the exact code I cut out and posted just where you said too was…

    // SKU
    if ( wc_product_sku_enabled() ) {
    woocommerce_wp_text_input( array( ‘id’ => ‘_sku’, ‘label’ => ‘<abbr title=”‘. __( ‘Stock Keeping Unit’, ‘woocommerce’ ) .'”>’ . __( ‘SKU’, ‘woocommerce’ ) . ‘</abbr>’, ‘desc_tip’ => ‘true’, ‘description’ => __( ‘SKU refers to a Stock-keeping unit, a unique identifier for each distinct product and service that can be purchased.’, ‘woocommerce’ ) ) );
    } else {
    echo ‘<input type=”hidden” name=”_sku” value=”‘ . esc_attr( get_post_meta( $thepostid, ‘_sku’, true ) ) . ‘” />’;
    }

    do_action( ‘woocommerce_product_options_sku’ );

    if ( ‘yes’ === get_option( ‘woocommerce_manage_stock’ ) ) {

    Again, A HUGE Thanks for sharing this with us – I’m STOKED! ??

    Thread Starter sugilite

    (@sugilite)

    Let me guess, your client sells unique products? I still gnash my teeth on a near daily basis as I have to click on a tab I previously never needed too, sometimes more than once for the same product, and times that by the amount of multiple products I may need to open at any given time!
    My impression is the developers do not really get it, as they do not use the system like we are using it. I would like to know if the developers actually ever received a request/s to move it? Or was it just deemed a good idea and tally ho!

Viewing 15 replies - 1 through 15 (of 22 total)