Viewing 13 replies - 1 through 13 (of 13 total)
  • Thread Starter deepakgupta19

    (@deepakgupta19)

    Not sure if this is being tracked. However, there seems to be a bug here which displays the ‘-‘ sign for the above mentioned condition.

    Is it something which you are able to replicate, or there is something which I am missing here.

    Just update the plugin fixing the bug. Please download the new version. Thank you very much for informing about the bug.

    Thread Starter deepakgupta19

    (@deepakgupta19)

    Hi Team,

    The ‘-‘ sign appears to be still there even after upgrading. Is it that I am doing something wrong?

    Regards,
    Deepak

    Its not, I have just checked again. Is it possible to share your website link?

    Thread Starter deepakgupta19

    (@deepakgupta19)

    Please find the below link for the website:
    https://thundervolt.co.uk/

    Slider is on the homepage, just along side Twitter feed. You will see some variable price items, like ‘Duffle Bag’ and ‘Tornado Pro Cricket Bat’ where ‘-‘ sign is getting displayed just alongside More field.

    Regards,
    Deepak

    Seems the issue is because of a cache plugin. Please empty it or do whatever needs to be done so that it doesn’t display from cache.

    Hi,

    I’m having the same problem, it seens to be a – somewhere in the code.

    pets.luisalonso.com.br

    If I inspect the div cart element it shows the code to hiden span displaying the price with the ‘-‘ betwen visible.

    but i can’t trace it on the source files.

    Hello,

    I’m having the same problem as described above.
    I am using the latest version of the plugin.

    Apart from that, great plugin!

    Hello, i have same issue if displaying variable products with different prices. Not using any cache plugins and just downloaded carousel plugin, so it is the latest version.

    On the file:

    wp-content/plugins/product-carousel-slider-for-woocommerce/wpcs-shortcodes.php

    replace around line 217 the following.

    echo do_shortcode('[add_to_cart id="'.get_the_ID().'"]')

    by:

    <div class="cart"><a class="add_to_cart_button btcarrossel" href="<?php the_permalink(); ?>" title="Buy <?php the_title();?>">Buy</a></div>

    Let me know if it works for you.

    Hello!
    Thanks for your reply! I replaced but then it gives an parse error on the site. I replaced exactly that line you refer above..
    original code:
    if ($wpcs_display_cart == ‘yes’) { ?>
    <div class=”cart”><?php echo do_shortcode(‘[add_to_cart id=”‘.get_the_ID().'”]’) ?></div>
    <?php } ?>
    </div>
    </div>

    I replaced and it looked like that:
    if ($wpcs_display_cart == ‘yes’) { ?>
    <div class=”cart”><?php <div class=”cart”>” title=”Buy <?php the_title();?>”>Buy</div> ?></div>
    <?php } ?>
    </div>
    </div>

    Try copy paste the code below as is.

    if ($wpcs_display_cart == 'yes') { ?>
    <div class="cart"><a class="add_to_cart_button btcarrossel" href="<?php the_permalink(); ?>" title="Comprar <?php the_title();?>">
    Comprar
    </a>
    </div>
    <?php } ?>

    And sorry if I’m rude, but you should pay way more attention to your code. You have a parse error because you have html inside php without echo “”, and without the need to do so.

    Try to spot the differences between the code above and the one you posted.

    Edit: Sorry, the code i posted first was broken because I did not use de “code” wrap around it.

    Did it work?
    If you still get an error let me know which.

    Sorry but I copied what you gave me, if the code you gave was broken, then it obvious I got an error, i did not add there anything by myself:)
    Now with latest code did`nt get error and the sign is gone but the layout is messed up – carousel images are vertical and the sidebar is just narrow line in the middle of the site

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Minus '-' sign showing alongside Cart icon’ is closed to new replies.