Skip to main content

Show Add to Cart Button by Default

Sinchain avatar
Written by Sinchain
Updated over a week ago

This article helps developers enable the Add to Cart button by default on product page and hide the Subscribe Now button in the subscription widget.

Step by step guide to get started:

  1. Navigate to your theme files and find the main CSS file where styles are located.
    Common file names include:

    • style.css

    • theme.css

    • base.css

    • global.css

  2. Paste this code into the file you found above:

    body .recurpay__widget .recurpay__action {
    display: none !important;
    }
    body .recurpay-hide, body button.recurpay-hide {
    display: block !important;
    }

  3. Save your changes and refresh the product page to confirm the Add to Cart button now appears by default.


Facing any issue with setting this up? Click the green chat button on Recurpay dashboard and we will get it done for you or write us at help@recurpay.com

Did this answer your question?