Support » Plugin: TI WooCommerce Wishlist » How to change the back to shop button into a go back button.

  • Resolved yhazem

    (@yhazem)


    Hi guys,
    I really love your plugin’s smoothness and its simplicity to be customized. I was wondering if there is a code i could add,on an empty wish-list, to change the back to shop button into a go back button or any other button in this case.
    Thank you in advance.

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Support Stan

    (@stantinv)

    Hi @yhazem,

    Do you need to change the text or the link of a button?

    Regards,
    Stan

    Both, i would like to turn it into a go back button if possible.
    Thank you.

    Hi @stantinv,
    if there is a piece of code i could add to completely remove this button, and add a new one in its place that would be great.

    Plugin Support Stan

    (@stantinv)

    @yhazem

    You will need to modify the template in this case. The files are:

    ..\templates\ti-wishlist-empty.php
    ..\templates\ti-wishlist-null.php

    Our plugin has similar functionality to WooCommerce for template overrides. All you need is to copy & paste the Wishlist plugin template into a ..\woocommerce directory of your child-theme to reflect the changes.

    • This reply was modified 4 months ago by Stan.
    Plugin Support Stan

    (@stantinv)

    We are now closing this topic and mark it as resolved due to inactivity. If you still have any questions or concerns please, fill free to re-open it at any time.

    Sorry for the extremely late reply,
    Can you please give me a snippet that I can add to replace the button with a short code, because I’m not really good at coding.
    thank you

    yhazem

    (@yhazem)

    Hello @stantinv,
    I know you must be extremely busy, but if you can answer my question that would be great.
    Thank you.

    yhazem

    (@yhazem)

    or at least give me a piece of code to get rid of the “Back to shop” button completely.
    Thank you

    Plugin Author templateinvaders

    (@templateinvaders)

    Hi @yhazem

    You need to override templates as our support staff mentioned in this post:
    https://wordpress.org/support/topic/how-to-change-the-back-to-shop-button-into-a-go-back-button/#post-13401782

    locate the next tag and just comment out or delete it completely:

    <p class="return-to-shop">
    ''''
    </p>
    

    Thank you for the reply @templateinvaders,
    Can you please write me a code to add to code snippets, because I’m novice at coding.
    Thank you.

    Plugin Author templateinvaders

    (@templateinvaders)

    Hi @yhazem

    It does not work like a snippet. Please, read the explanations above. It’s easy to modify and described in detail.

    OR hire some developer to make this task.

    ok thank you

    I just solved it. It appears that I got mixed up and added the files to
    ..\woocommerce\templates\ti-wishlist-empty.php
    ..\woocommerce\templates\ti-wishlist-null.php
    rather than
    ..\woocommerce\ti-wishlist-empty.php
    ..\woocommerce\ti-wishlist-null.php
    straight away.
    Thank you guys for the support 🙂

    Plugin Author templateinvaders

    (@templateinvaders)

    @yhazem Great!

    It’s a really easy task but requires some files modifications.

Viewing 14 replies - 1 through 14 (of 14 total)
  • You must be logged in to reply to this topic.