Forum Replies Created

Viewing 12 replies - 1 through 12 (of 12 total)
  • Thread Starter thenixus

    (@thenixus)

    That totally worked! Thank you so much!

    Thread Starter thenixus

    (@thenixus)

    I found where it’s added in WC default – woocommerce\assets\js\frontend\add-to-cart-variation.js

    The JS that then controls it (lines 522-528):

    var $single_variation_wrap = $form.find( '.single_variation_wrap' );

    $single_variation_wrap.prepend( $( '<div class="woocommerce-variation-description" style="border:1px solid transparent;">' + variation_description + '</div>' ).hide() );

    So it’s directly prepending into the .single_variation_wrap div, which contains the add to cart button, the price, and the variations description.

    I don’t think I’d be able to prevent that from hooking there unless I overwrote that JS file? Is there a cleaner way?

    Thread Starter thenixus

    (@thenixus)

    Thanks for your reply.

    I’ve tried this with all plug-ins turned off (except WC) and on the Twenty Fifteen theme. The variable product description is available to a)edit under each individual variation as “Variation Description” and b)changes to what is typed in the “Variation Descriptions” field when I toggle different variations on an individual product page. I’m 99% sure it comes included in WC.

    I will, however, try to do the text search to find the hook.

    Thread Starter thenixus

    (@thenixus)

    Sorry for the delay: here’s a link to the site. Just to be clear, I’m trying to move the descriptions of the individual product variations, not the general product description!

    http://www.cchcollection.com.php53-13.ord1-1.websitetestlink.com/product/kenan-jacket

    It currently appears under the variation selectors and dynamically changes when you select a new variation, and I’d like to put them below the Add to Cart button.

    Thread Starter thenixus

    (@thenixus)

    This is exactly what I needed. I’ll hook this into a check of the window size. Thank you!

    Thread Starter thenixus

    (@thenixus)

    An update of some things I tried: I tried to add some CSS queries to hide the menu when it was at landscape settings on devices. The CSS queries worked on Android platforms but not on OS/iOS and they weren’t caught by other devices, like laptops, so it was a non-starter.

    Thread Starter thenixus

    (@thenixus)

    After about 9 hours of slaving, I have a partial fix to the problem. We were also in the middle of a server migration, which explains why I figured it out (at 5am!)

    My problem was (in a nutshell): All of my admin users of the site could no longer do standard admin things – no posting, exporting, changing plugins, etc.

    It seems that, when I upgraded to 3.1,the WordPress install crashed unexpectedly and it didn’t return an error saying it did. When I tried to upgrade the files by opening wp-admin/upgrade.php, it didn’t work either.

    What I did that seemed to work was the following:
    Opened up wp-includes/version.php in a text editor
    Commented out the first two values like so:

    // $wp_version = '3.1';
    
    // $wp_db_version = 17056;

    Then, when I logged in again, it forced itself to repair. There were some errors in my install (I have a hellish install of WP) but all of a sudden, my admin rights were back! Hoorah!

    The only thing I can’t do is Add Posts via the Add Posts button. Weird, isn’t it? Now I have one problem left on the site, but I have control over my WP again.

    Thread Starter thenixus

    (@thenixus)

    I have found no solutions to this problem, including changing the mySQL table entries for my usermeta data to reflect the accurate user privs. I am at a loss and would really like to get this fixed.

    m1dst and Jon, did any plugins you had seem to stop working after the install or cause awkward problems? My WP DB-Manager behaved oddly but I was able to delete it until I could fix this more pressing issue.

    Thread Starter thenixus

    (@thenixus)

    I can’t even find the user menu now..it isn’t on the sidebar anymore. Am I just dumb or was this taken away with 3.1?

    I did try to create a new user as an admin and I still had the original problem.

    Thread Starter thenixus

    (@thenixus)

    I’m not on a multi-site installation. This is just a single site. When I say Admins, I mean users set at the “Administrator” level. Sorry for any confusion!

    Thread Starter thenixus

    (@thenixus)

    Hi mercime,

    I’ve tried deactivating plug-ins, moving to Twenty Ten as a theme, manual upgrade, and disabling the Admin menu through my functions file. Still no luck. There isn’t much about this error in the WordPress forums already.

    Thread Starter thenixus

    (@thenixus)

    <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
    
        				 <?php the_title();?>
    
                         <?php the_content();?>
    
    					<?php endwhile; else: ?>
    
        				UH OH!
    
    					<?php endif; ?>

    Pretty straightforward loop

Viewing 12 replies - 1 through 12 (of 12 total)