Okay
  Public Ticket #168519
Add Shortcode to WooCommerce Templates Endpoints Pages
Closed

Comments

  •  2
    Ed started the conversation

    With latest Woocommerce release and using endpoints, it makes it impossible to edit these pages in dashboard. So I managed to find the endpoint page I need to edit ThankYou.php and transferred it over to salient/woocommerce/templates (etc), but now I have to edit the PHP which I am not good at.

    How can I add Nectar short codes such as buttons so that they link to the My Account page, or any other page for that matter? My search has told me it's probably something like adding:

    <?php echo do_shortcode('[your_shortcode_here]'); ?>
    

    But I have no clue what to do to that. Any help would be appreciated!

    Woocommerce ThankYou.php template: https://github.com/woothemes/woocommerce/blob/v2.1.0/templates/checkout/thankyou.php

  • [deleted] replied

    Hey Ed, unfortunately it seems like this is a customisation request which we cannot offer for free. We'll be able to do help you with this for a fee though - what's your budget? Cheers :)

  •  2
    Ed replied

    Hi, thanks for the reply. I don't understand why WooThemes made it so difficult to edit something as simple as the Thank You page. I understand the benefits of endpoints but there's got to be a better way than to have to pay someone to edit a simple checkout page. I know this isn't your guys' quarrel but just venting.

    Thanks. 

  • [deleted] replied

    Hey Ed, I understand your frustration - you can always let it our here if you want! Are you interested in the customisation, or are you ok to leave it as-is? Cheers :)