Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #364980

    Friech
    Moderator

    Hi There,

    To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.

    Thanks!

    #366158

    hawa2015
    Participant
    This reply has been marked as private.
    #366373

    Rue Nel
    Moderator

    Hello There,

    Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site

    – WordPress Admin username / password
    
– FTP credentials

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    Thank you.

    #386925

    lily
    Participant
    This reply has been marked as private.
    #387076

    Rue Nel
    Moderator

    Hello There,

    Thanks for updating the thread! Before anything else, we would like to recommend that you increase your PHP memory limit. You might experience memory limit exhaustion. To run WooCommerce smoothly, you need to increase this. Please check WooCommerce > System Status > WordPress Environment > WP Memory Limit. Please edit your wp-config.php file and insert these lines just above the “Happy Blogging”.

    define( 'WP_MEMORY_LIMIT', '256M' );
    define( 'WP_MAX_MEMORY_LIMIT', '512M' );

    To resolve your product image sizes, please remove the code we have suggested in our previous reply. Please use this code instead:

    // Do Not Remove Woocommerce Plugin Settings
    // =============================================================================
    function x_woocommerce_donot_remove_plugin_setting(){
      if ( ! is_admin() ) {
        return;
      }
      remove_filter( 'woocommerce_product_settings', 'x_woocommerce_remove_plugin_settings', 10 );
    }
    add_action('init', 'x_woocommerce_donot_remove_plugin_setting');

    Once added, you will have the Product Display Image option settings back. You can check it out in Woocommerce > Settings > Products > Display tab; http://prntscr.com/6eysla
    After changing the image size for your products do not forget to regenerate your thumbnails.

    Please let us know if this has work for you.

    #387255

    lily
    Participant

    thank you so much for your help.

    I went to cpanel (my hosting is bluehost) and changed the wp-config.php file as you indicated to the following:

    <?php
    /**
     * The base configurations of the WordPress.
     *
     * This file has the following configurations: MySQL settings, Table Prefix,
     * Secret Keys, and ABSPATH. You can find more information by visiting
     * {@link https://codex.wordpress.org/Editing_wp-config.php Editing wp-config.php}
     * Codex page. You can get the MySQL settings from your web host.
     *
     * This file is used by the wp-config.php creation script during the
     * installation. You don't have to use the web site, you can just copy this file
     * to "wp-config.php" and fill in the values.
     *
     * @package WordPress
     */
    
    // ** MySQL settings - You can get this info from your web host ** //
    /** The name of the database for WordPress */
    define('DB_NAME', 'viktorj5_wordpress174');
    
    /** MySQL database username */
    define('DB_USER', 'viktorj5_word174');
    
    /** MySQL database password */
    define('DB_PASSWORD', 'GXdisAvqTLGy');
    
    /** MySQL hostname */
    define('DB_HOST', 'localhost');
    
    /** Database Charset to use in creating database tables. */
    define('DB_CHARSET', 'utf8');
    
    /** The Database Collate type. Don't change this if in doubt. */
    define('DB_COLLATE', '');
    
    /**#@+
     * Authentication Unique Keys and Salts.
     *
     * Change these to different unique phrases!
     * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}
     * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.
     *
     * @since 2.6.0
     */
    define('AUTH_KEY', 'BLuFFhC=jLD-+=Ze=gahGB{IgOIuzG^Hz$b&c]){O&LLQrU_shon)hNeSiwUwD$!DNA/^}XW%-B|?RPNzWoBwC&Ld-(czGa}meQ*wsPhXdvgNTMCl>Qwa-i=X[%H%h_l');
    define('SECURE_AUTH_KEY', ')(cAJWL+F![)ZExAkMvQRmvb+wiJM-;o<rBM-)<PSu!v]?)ZZRlqlsAngJlc{-KRvkKZrg{*=^c>Xw-lH$FjY^p-WlKY^tgT?<P}[kcK;VM&Vpw@P}}}[PNXaiFq?Wc>');
    define('LOGGED_IN_KEY', 'Fu)E@l?fri+*JihngV{BeDqjETA/fgUR+N^K}oAn(swYed|zpKYEls>J/Y@xrHuyccK>zSs_IJ>CUq$YyUe;vJm?{<m(wJjJTxIOOQ!JpsKs/-b{vRrQHUCmlJMswj[Q');
    define('NONCE_KEY', 'jGCr!/{W}OHL^$xw^cF/){X+=Qe%yYkZJ&fQGEbI^(yQPZ@+igmD*;TS$*FZPY&kKa_?/Ao*nznKtx*-NxwfOnMV*kfwsv|&caTO(SB+I_]RCZ<hOwAEA*dLd@J(Bb&B');
    define('AUTH_SALT', '<zV[$d=)vfpHL_%sbpW]pSoUbinjjY{sib&h?XYJ+;O(Cb(+ZS%Pne==_xnNUXpXZkY{FCxyMUKeCJKv=eSP=N=GJv)tNB}UB<^@Kmz(PoAHHvgL*I|^aAXQ@mp_r+Ka');
    define('SECURE_AUTH_SALT', 'Qjtb+=C@^}RmiHgIfp+&B^nwM${%$IkkD||xFOJ/>;Qc^k+KsQ/NALgpOU$llV^}da[A(o<L^]mHdSByhxgB;ZVGO!eKP{jzvaO=iGV>vEBrF${Dj|kMK[Q-brIyCDgK');
    define('LOGGED_IN_SALT', 'QPdaH=IeyNIvyPqme/Of()lx-F&EhI/lJ{kWF)+VgBm(N[l!Q>A<Kg<Or!d)Df?e&C[|ANr]&zOsbB;xj__H^E^<cPCXqPJ%}vrk>ngp[gJW?[h)Vov_stv]iu>nTcrA');
    define('NONCE_SALT', '--A!>_aQc?_QL/qsvMdUkP*v>Fmmf;UlsHgfAAd{{WiUK;iLC_hv)FaT?Z]^J^yfkqXLjB_KJL(y}=zMpGKy/mnhlR->QKBAjNPB/&@YtZ%>fNz*zK;[Uz}gaN$K$fys');
    
    /**#@-*/
    
    /**
     * WordPress Database Table prefix.
     *
     * You can have multiple installations in one database if you give each a unique
     * prefix. Only numbers, letters, and underscores please!
     */
    $table_prefix = 'wp_xlqy_';
    
    /**
     * For developers: WordPress debugging mode.
     *
     * Change this to true to enable the display of notices during development.
     * It is strongly recommended that plugin and theme developers use WP_DEBUG
     * in their development environments.
     */
    define('WP_DEBUG', false);
    
    define( 'WP_MEMORY_LIMIT', '256M' );
    define( 'WP_MAX_MEMORY_LIMIT', '512M' );
    
    /* That's all, stop editing! Happy blogging. */
    
    /** Absolute path to the WordPress directory. */
    if ( !defined('ABSPATH') )
    	define('ABSPATH', dirname(__FILE__) . '/');
    
    /** Sets up WordPress vars and included files. */
    require_once(ABSPATH . 'wp-settings.php');
    
    /**
     * Include tweaks requested by hosting providers.  You can safely
     * remove either the file or comment out the lines below to get
     * to a vanilla state.
     */
    if (file_exists(ABSPATH . 'hosting_provider_filters.php')) {
    	include('hosting_provider_filters.php');
    }
    

    which corrected it.

    Then, I added the next code in the functions.php in wordpress. The product image sizes appeared under the woocommerse display tab and everything is “checked”

    Then, I Forced Regenerated Thumbnails (every image that’s in the shop)

    But some images are still bigger than others (different sizes). The Apple Cider Vinegar image is huge. Do I change the thumbnail sizes under the woocommerse display tab?

    Please take a look:
    http://www.viktoriyaandoksana.com/shop/page/2/

    "vitamix1" (ID 105)
    
    BaseDir: /home4/viktorj5/public_html/wp-content/uploads
    BaseUrl: http://www.viktoriyaandoksana.com/wp-content/uploads
    Image: /home4/viktorj5/public_html/wp-content/uploads/2015/09/vitamix1.jpg
    
    Deleted: 1000x576, 180x180, 600x600, 672x372
    Regenerate: 1000x671, 100x100, 150x150, 250x275, 300x300, 400x400, 862x482, 862x862
    Successfully regenerated in 1.960 seconds
    #387537

    Lely
    Moderator

    Hello There,

    Other images is still huge like the Apple cider vinegar because the image is smaller than the registered size.
    Normal image is 600px to 900px for x theme and the uploaded image for Apple cider vinegar is 179px, thus wordpress will not crop it or resize it. Please note that cropping of images will only work for large images.

    Hope this helps.

    #387687

    lily
    Participant

    i see, thank you for noticing.

    I changed all product image sizes to 50×50 (and regenerated) and they are unaffected except for the blanks (with yellow highlights). I need to find someone who is using WooZone amazon affiliates to see how they go about it.

    #387753

    Lely
    Moderator

    You’re welcome!