Hello @khurram virk,
Thank you for reaching out to us.
We appreciate the detailed explanation and the video reference you provided. Based on your request, please find our guidance below:
1. Enabling AJAX for the “GET STARTED” (Add to Cart) Button:
To make the “GET STARTED” button add the product to the cart via AJAX without reloading the page, please ensure the following:
– The product should be a Simple Product (not a variable or grouped product).
– The button should have the class add_to_cart_button and include the data-product_id attribute.
If you are using a custom pricing table or a page builder, you may need to manually add the appropriate WooCommerce classes and data attributes. Here is an example of the correct HTML structure:
<a href="/?add-to-cart=7513&variation_id=7565&quantity=1" data-quantity="1"
class="button product_type_simple add_to_cart_button ajax_add_to_cart"
data-product_id="PRODUCT_ID"
rel="nofollow">GET STARTED</a>
Please replace PRODUCT_ID with the actual ID of your product.
Additionally, ensure that AJAX add to cart is enabled in your theme. If you are using one of our themes, you can check this setting under Theme Options > WooCommerce > Shop > Enable AJAX Add To Cart.
2. Changing the Color of the Success Message Bar:
To change the color of the success notification bar from green to blue, you can add the following custom CSS to your site:
.woocommerce-message[role="alert"] {
background-color: #0A3DDC;
}
You can add this CSS under Appearance > Customize > Additional CSS.
If you are using a child theme, you may also add it to your child theme’s style.css file.
Should you need further assistance or if the issue persists, please do not hesitate to let us know. We are here to help.
Best Regards,
8Theme’s Team















