Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #1193192

    Hi guys,

    how can display a message „Do you have a coupon?“ instead of the input field in shopping cart? Thanks!



    Hey El,
    I assume you would like the “Do you have a coupon?” to replace the placeholder
    Try adding this code to the end of your functions.php file in Appearance > Editor:

    function custom_script(){
    $('input#coupon_code').attr('placeholder', 'Do you have a coupon?');
    add_action('wp_footer', 'custom_script');

    Best regards,


    Actually I would prefer it to be a link that only becomes an input and submit combo if you click it. Saleswise it would be much better to have it more sublime. Best, El


    Hi El,

    Unfortunately, it would require quite some time and customization of the theme to achieve this, so I am sorry to tell you that this is not covered by our support. However, if it’s really important for you to get this done, you can always hire a freelancer to do the job for you :)

    Best regards,

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