• Resolved jrswordpress

    (@jrswordpress)


    Hi,

    Since I updated I noticed that the plugin is not outputting the discount message. I use this code you provided me awhile ago HERE.

    I removed the code and refreshed the site with no luck. I also went into the customization panel and turned the messages on and off and switched around where they should appear with no luck. Also, I am using cart-totals-checkout.php, cart-totals.php, and mini-cart.php templates which I took out as well to see if that would fix it but no luck. I also, activated and deactivated the plug in.

    During inspection with google dev tools, I could not find the “minicartsave” css class I created in my template, so it seems like the plugin is not outputting the discount message at all?

    Do you have any suggestions I could try to fix? Thanking you in advance.
    -Josh

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter jrswordpress

    (@jrswordpress)

    Nevermind, it is working again now after I waited for a few minutes. That was wierd, lol.

    Plugin Author algol.plus

    (@algolplus)

    have you re-saved Settings tab ?

    Thread Starter jrswordpress

    (@jrswordpress)

    Yes, ok so it seems to me like the new update doesn’t like my templates for some reason. When I remove them, the messages reapear. Could you please take a look at my templates and let me know whats wrong? I have them pasted here:

    Cart-totals-checkout.php

    <?php
    if ( ! defined( 'ABSPATH' ) ) {
    	exit; // Exit if accessed directly
    }
    /**
     * @var $title string
     * @var $amount_saved float
     */
    ?>
    <tr class="yousave">
        <th></th>
        <td class="yousave">(<?php echo $title; ?> <?php echo wc_price( $amount_saved ); ?>)</td>
    </tr>

    Cart-totals.php

    <?php
    if ( ! defined( 'ABSPATH' ) ) {
    	exit; // Exit if accessed directly
    }
    /**
     * @var $title string
     * @var $amount_saved float
     */
    ?>
    <tr class="yousave">
        <th></th>
        <td class="yousave">(<?php echo $title; ?> <?php echo wc_price( $amount_saved ); ?>)</td>
    </tr>
    

    mini-cart.php

    <?php
    if ( ! defined( 'ABSPATH' ) ) {
    	exit; // Exit if accessed directly
    }
    /**
     * @var $title string
     * @var $amount_saved float
     */
    ?>
    <li class="minicartsave">
       (<?php echo $title; ?>:
    	<?php echo wc_price( $amount_saved ); ?>)
    </li>
    • This reply was modified 4 years, 1 month ago by jrswordpress.
    • This reply was modified 4 years, 1 month ago by jrswordpress.
    Plugin Author algol.plus

    (@algolplus)

    can you upload these files as new ticket to https://algolplus.freshdesk.com/ ?

    we’ll review and reply later today

    Thread Starter jrswordpress

    (@jrswordpress)

    Sure no problem, thank you.

    Plugin Author algol.plus

    (@algolplus)

    thanks for understanding

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Discount message not showing up after update’ is closed to new replies.