Show

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #214492

    tcsg.toth
    Participant

    Hello,
    I’m trying to add the Show summary on hover style to product page but it’s not work somehow. Like the first tile here: https://woodmart.xtemos.com/products-element/
    Can you help please?

    #214495

    tcsg.toth
    Participant

    photo about my settings

    Attachments:
    You must be logged in to view attached files.
    #214541

    Hello,

    I saw the screenshots you attached. Please Go to Theme Settings >> Shop >> Product Styles. And set the hover content to excerpt.

    Then Clear cache and check back.

    Screenshot for Clarification: https://ibb.co/2jTL5zL

    Best Regards.

    #214698

    tcsg.toth
    Participant

    Did it but still not working 🙁 Can you help please?

    #214749

    Hello,

    I have logged into your website and deactivated all the third party plugins and the hover content is displaying fine.

    Which means it’s not our theme issue, it’s a third party plugin issue.

    Screenshot for Clarification: https://ibb.co/nwyG3QF

    Please clear cache and check back.

    Regard’s.
    Xtemos Studio.

    #214789

    tcsg.toth
    Participant

    Found out that PHP widget plugin is the problem. Can you suggest an alternative to how to inject php code to Shop Sidebar which work with your theme?

    #214792

    tcsg.toth
    Participant

    (the plugin is not conflicting, just after I put the php code to the widget)

    #214799

    tcsg.toth
    Participant

    my php code:
    <script src=”https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js”></script&gt;

    <div>
    <?php $var = get_terms(array(
    ‘taxonomy’ => ‘category’,
    ‘parent’ => 215,
    ‘hide_empty’ => true,

    ));?>

    <select class=”foselect”>
    <option value=”” disabled selected>Válassz márkát</option>
    <?php
    foreach($var as $marka) { ?>
    <option data-name=”<?php echo $marka->slug; ?>” value=”<?php echo $marka->id; ?>”><?php echo $marka->name; ?></option>
    <?php
    }
    ?>
    </select>

    <?php
    foreach($var as $i => $marka) { ?>
    <select class=”autoselect” id=”<?php echo $i;?>_tipus” data-marka=”<?php echo $marka->slug; ?>”>
    <option value=”” disabled selected>Válassz modellt</option>
    <?php
    $techs = new WP_Query(
    array(
    ‘post_type’ => ‘post’,
    ‘post_status’ => ‘publish’,
    ‘posts_per_page’ => -1,
    ‘orderby’ => ‘title’,
    ‘order’ => ‘ASC’,
    ‘tax_query’ => array(
    array(
    ‘taxonomy’ => ‘category’,
    ‘field’ => ‘slug’,
    ‘terms’ => $marka,
    ‘operator’ => ‘IN’,
    ),
    )
    )
    );

    if ( $techs->have_posts() ) :
    while ( $techs->have_posts() ) : $techs->the_post(); ?>
    <?php if(empty(get_field(‘select_name’))) { ?>
    <option data-link=”<?php the_permalink(); ?>” value=”<?php the_permalink(); ?>”><?php the_title(); ?></option>
    <?php
    } else { ?>
    <option data-link=”<?php the_permalink(); ?>” value=”<?php the_permalink(); ?>”><?php the_field(‘select_name’); ?></option>
    <?php
    } ?>

    <?php
    endwhile;
    wp_reset_postdata();
    endif; ?>
    </select>
    <?php
    }
    ?>
    </div>
    <script>

    $( document ).ready(function() {
    $(“select option”).prop(“selected”, false);
    $(‘.foselect’).val(”);
    $(‘.autoselect’).val(”);
    });

    $(‘.autoselect’).hide();
    $(‘#0_tipus’).show();

    $(‘.foselect’).change(function(){
    $(‘.autoselect’).hide();
    var marka = $(this).find(‘:selected’).data(‘name’);
    $(select[data-marka='${marka}']).show();
    });

    $(‘.autoselect’).change(function(){
    var link = $(this).find(‘:selected’).data(‘link’);
    window.location = link;
    });

    </script>

    #214825

    Hello,

    Sorry but we could not help you with this because you are asking for core files customization and this is beyond our limitations and support policy.

    Regard’s.
    Xtemos Studio.

Viewing 9 posts - 1 through 9 (of 9 total)