Home Page › Forums › Porto – AI Powered WordPress Website & Shop Builder › Price Disappeared From Add To Cart Area › Reply To: Price Disappeared From Add To Cart Area
Hmmm. So strange. I disabled all plugins except: woocommerce, porto theme functionality, and elementor and the issue persists. I tried activating the main theme instead of child and no difference. I checked the page source and it’s not loading or processing the price into that area. Also tried making a new template and product and the same issue is occurring.
It seems my options are either:
1) try to inject the price between the cart and variation buttons with JS
2) use the price widget and drop it under the main product title
Do you think I should try using JS to add it in?
Pretty sure this is the only CSS I have modifying the area and I tried disabling it (no effect):
/* Modify Add To Cart Button On Product Pages */
.single_add_to_cart_button {
background-color: #6aa800;
color: #ffffff;
transition: all 0.3s ease;
padding: 28px 0;
border: 5px solid #ebebeb;
display: flex; /* Add these lines */
align-items: center; /* to vertically center */
justify-content: center; /* to horizontally center */
line-height: normal; /* Reset line height if needed */
margin-top: 20px !important;
}
.single_add_to_cart_button:hover {
background-color: #598c03;
border-color: #a2d8fc;
transform: scale(1.06);
}
/* Remove the line divider above add to cart */
.single_variation_wrap {
border-top:0px !important;
}
/* Remove clear variation button above cart */
.reset_variations {
display: none !important;
}