Your account expired support, please renew to get your support.

Forum Replies Created

Viewing 10 posts - 51 through 60 (of 81 total)
  • Author
    Posts
  • in reply to: Most images did not upload on new install! #30867
    brent
    Support Expired

    Hey Harry we were able to move the attributes from the tabs and display them below the description above. Can we move the attributes so that they are actually included INSIDE OF THE DESCRIPTION AREA? Of course I’d still need to have the main description above this.

    This would help me in a great way! The products now sync over to Facebook automatically but they do not include the attributes which are a huge portion of my description. Also when I begin sharing products to Instagram they’ll also be included that way.  Can you change that for me?

    Thanks, Brent

    Thank you!
    Brent

    in reply to: Most images did not upload on new install! #30837
    brent
    Support Expired

    Hey Harry, Salesbinder will only sync over one category, which is not the main default category for all gemstones. Is there a way we can automatically assign the main category to all of those items too?

    I’m headed to bed. Thanks again for your fantastic help. Things are coming together! 🙂

    Have a great day, talk later.

    Brent

    Thank you!
    Brent

    in reply to: Most images did not upload on new install! #30834
    brent
    Support Expired

    okay, got it, I didn’t know that. Thanks.

    So how do we now get rid of the tabs at the bottom now without breaking the site? 🙂

    No, never been there. Maybe someday. I’m hoping to go see my good friend in Sri Lanka later in the year. Not sure yet, and yes expensive, I know.

    Thank you!
    Brent

    in reply to: Most images did not upload on new install! #30832
    brent
    Support Expired

    So there’s an issue. Somewhere I’ve lost the related items below the tabs area. I don’t what that’s all about. Also when I added the code to remove the tabs from yesterday it broke the site so I removed it. The Related products are okay on this page: https://instockgems.com/product/7-5mm-trill-blue-sapphire-1-56ct/ but missing here: https://instockgems.com/product/rectangular-cushion-pink-sapphire-1-17ct/

    Here’s what I have in functions now:

    /** Remove short description if product tabs are not displayed */
    function dot_reorder_product_page() {
    if ( get_option(‘woocommerce_product_tabs’) == false ) {
    remove_action( ‘woocommerce_single_product_summary’, ‘woocommerce_template_single_excerpt’, 20 );
    }
    }
    add_action( ‘woocommerce_before_main_content’, ‘dot_reorder_product_page’ );

    /** Display product description the_content */
    function dot_do_product_desc() {

    global $woocommerce, $post;

    if ( $post->post_content ) : ?>

    <?php $heading = apply_filters(‘woocommerce_product_description_heading’, __(‘Product Description’, ‘woocommerce’)); ?>

    <!– <h2><?php echo $heading; ?></h2> –>
    <?php the_content(); ?>

    <?php endif;
    }
    add_action( ‘woocommerce_single_product_summary’, ‘dot_do_product_desc’, 20 );

    // Add “additional information” after add to cart
    add_action( ‘woocommerce_single_product_summary’, ‘additional_info_under_add_to_cart’, 25 );
    function additional_info_under_add_to_cart() {
    global $product;

    if ( $product && ( $product->has_attributes() || apply_filters( ‘wc_product_enable_dimensions_display’, $product->has_weight() || $product->has_dimensions() ) ) ) {
    wc_display_product_attributes( $product );
    }
    }

    Brent

    I live in Oregon, Northwest USA. Beautiful corner of the world 🙂 Ever been here?

    Thank you!
    Brent

    in reply to: Most images did not upload on new install! #30827
    brent
    Support Expired

    Wow, that worked smooth! I assume I can edit other files in a similar fashion, is that correct? I didn’t know you could use woocommerce in the child theme. That’s awesome. Is that a universal thing or is it theme related to your code for Gecko?

    While we’re on this is there an easy way to locate where certain files are located? A search or something. I’ve seen things where I’d like to make a change but I have no idea where the correct template/file is located.

    Man thanks again. It is so so nice to have incredible help! by the way, where do you live?

    Brent

    Thank you!
    Brent

    in reply to: Most images did not upload on new install! #30826
    brent
    Support Expired

    Hey thanks again Harry.

    Guess what? They updated Salesbinder and the attributes now sync! And my products are now syncing with Facebook! Both of those plugins were broken. Yeah! 🙂

    So this changes some things I’d like to do. What can I add to functions to make the “Additional Information” tab information show up directly below the description at the top of the detailed page? I’ll use some of the last code to remove the other tabs and then I’ll style the Additional info.

    Wow! Huge progress after so long! If you can’t tell I’m pretty excited! I feel like I’ve been banging my head against the wall for a long time now and getting nowhere 🙂

    Thanks man!

    Brent

    Thank you!
    Brent

    in reply to: Most images did not upload on new install! #30820
    brent
    Support Expired

    Thanks Harry! I’ll check it out.

    Also: What can I do to change the text of SKU: to> Stock#:

    I added this to functions but it didn’t work:

    Thanks! You’re awesome!

    /* Change text in Woocommerce */
    add_filter( ‘gettext’, ‘edit_translate_woocommerce_text’, 999, 3 );

    function edit_translate_woocommerce_text( $translated, $text, $domain ) {

    // STRING 1
    $translated = str_ireplace( ‘SKU: ‘, ‘Stock#: ‘, $translated );

    // Add additional below

    return $translated;
    }

    Thank you!
    Brent

    in reply to: Most images did not upload on new install! #30775
    brent
    Support Expired

    Hi Harry.

    I’m using the script that you gave me to display the long description at the top of the product detail page. But I need to remove the “Short Description” AND I also want to remove the tabs down below. Please see this pic:

    https://www.awesomescreenshot.com/image/3999369/b03e6eb8884b3acefd0507b191e375e1

    Thank you! Brent

    Here is script that I’m currently using in the function file:

    /** Remove short description if product tabs are not displayed */
    function dot_reorder_product_page() {
    if ( get_option(‘woocommerce_product_tabs’) == false ) {
    remove_action( ‘woocommerce_single_product_summary’, ‘woocommerce_template_single_excerpt’, 20 );
    }
    }
    add_action( ‘woocommerce_before_main_content’, ‘dot_reorder_product_page’ );

    /** Display product description the_content */
    function dot_do_product_desc() {

    global $woocommerce, $post;

    if ( $post->post_content ) : ?>

    <?php $heading = apply_filters(‘woocommerce_product_description_heading’, __(‘Product Description’, ‘woocommerce’)); ?>

    <!– <h2><?php echo $heading; ?></h2> –>
    <?php the_content(); ?>

    <?php endif;
    }
    add_action( ‘woocommerce_single_product_summary’, ‘dot_do_product_desc’, 20 );

    Thank you!
    Brent

    in reply to: Most images did not upload on new install! #30733
    brent
    Support Expired

    Thank you sir!

    Thank you!
    Brent

    in reply to: Most images did not upload on new install! #30731
    brent
    Support Expired

    Hi Harry, how are you?

    Hey how can I remove the “uncategorized” category? I’ve tried several snippets in the functions file but no luck. Am I missing a setting somewhere?

    Thanks! Brent

    Here’s the last one I tried:

    /* Remove uncategorized in Woocommerce */
    function wc_hide_selected_terms( $terms, $taxonomies, $args ) {
    $new_terms = array();
    if ( in_array( ‘product_cat’, $taxonomies ) && !is_admin() && is_shop() ) {
    foreach ( $terms as $key => $term ) {
    if ( ! in_array( $term->slug, array( ‘uncategorized’ ) ) ) {
    $new_terms[] = $term;
    }
    }
    $terms = $new_terms;
    }
    return $terms;
    }
    add_filter( ‘get_terms’, ‘wc_hide_selected_terms’, 10, 3 );

    Thank you!
    Brent

Viewing 10 posts - 51 through 60 (of 81 total)