Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1057585
    arpanchhetri
    Participant

    Hi,

    I am using woocommerce 2.6.1, wordpress 4.5.3, X theme 4.5.2, cornerstone 1.2.4.

    I am also using Ultimate WooCommerce Brands 1.1.1 by Magnium Themes, and I understand that you do not provide support for third party plugins, but only if you could lead me to a resource or a solution. Category/Archive/Brand page in my site has a distorted layout with very odd product image sizes even though I’m using image resizing solution available with woocommerce and regenerate thumbnails.

    URL: http://www.staging1.pacificjewellers.co.nz/
    Affected URL(s) Type: http://www.staging1.pacificjewellers.co.nz/brands/citizen/

    Any help will be appreciated.

    Cheers

    #1057627
    Nico
    Moderator

    Hi There,

    Thanks for writing in.

    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.

    Thanks.

    #1060408
    arpanchhetri
    Participant
    This reply has been marked as private.
    #1060728
    Rad
    Moderator

    Hi there,

    X theme is only integrated to Woocommerce default feature. I went ahead and applied the fix here /wp-content/themes/x/framework/functions/global/plugins/wpml.php

    And your brands doesn’t have column any setting just like built-in taxonomies like categories and tags.

    I added this custom javascript as well to fix the brand columns.

    jQuery('.tax-product_brand ul.products').addClass('cols-4');

    Thanks!

    #1060739
    arpanchhetri
    Participant

    Hi Rad,

    This is perfect. Can’t thank you enough.

    Just to confirm that if I update X theme in future, these changes won’t be lost? Is there something I can do to the child theme that will keep the functions?

    #1060793
    John Ezra
    Member

    Hi there,

    Thanks for updating the thread! If your changes are in the child theme, they should be safe. The only time they will be affected is when the main theme does some major structural changes and you will need to update your changes accordingly.

    However, for most updates, changes in the child theme are not at risk being overwritten.

    The best practice, however, is to always have a regular and current backup of your site, prior to any updates or changes where things could go wrong. That way you can always roll back and try again.

    Hope this helps – thanks!

    #1060852
    arpanchhetri
    Participant

    Hi John.

    Thanks a lot for the update.

    Sorry, I don’t think I was able to convey this properly. Because the changes were made to the main theme: /wp-content/themes/x/framework/functions/global/plugins/wpml.php by the support staff (Rad), I was only asking how I could apply the changes to the child theme, rather than keeping the changes in the main theme so that I don’t risk losing them.

    Thanks again for your help.

    #1060878
    Rad
    Moderator

    Hi there,

    You can’t add that to a child theme, wpml.php is a function file, not a template file. You can only move the customization to a child theme if it’s a template or a pluggable function. Unfortunately, it’s not pluggable function either, hence need editing within the file.

    This is a known bug and should be fixed in next update, it should be okay to be overwritten since it only serves as temporary.

    The javascript will not be affected by any update, but it can be overwritten by demo import.

    Thanks!

    #1062291
    arpanchhetri
    Participant

    Great,

    Thanks again for your the great support.

    Cheers

    #1062638
    Nico
    Moderator

    Happy to hear that.

    Feel free to ask us again.

    Thanks.

  • <script> jQuery(function($){ $("#no-reply-1057585 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>