Price next to on stock – simple product
-
Hello,
by simple variation product I have price next to “on stock” and I would like to have the same by product simple. Is it possible to make me a code for it? Thank you very much in advance.
Hello,
Do you mean displaying the number in stock on the product page? If so, navigate to WooCommerce > Settings > Product Tab > Inventory and enable the option. Also, enter each product and activate “Manage Stocks” and specify the stock.
If you mean replacing price and stock, there is no such option.
Best Regards
Hello Elise,
i mean coding in php … i need the price beside on stock … all on one line.
Look at attachment…the same location as the product variation.
Thank you Jiri.
Attachments:
You must be
logged in to view attached files.
Hello,
We do not customize third parties plugins. We only can provide minor CSS modification.
Best Regards
Hello Elise,
it’s not third parties plugin modification … it’s a fix template for the simple product.
Thank you. Jiri
Hello,
Please add this CSS to Theme Settings > Custom CSS:
.single-product-page .entry-summary .price,
.single-product-page .entry-summary .in-stock {
display: inline-block;
}
.single-product-page .entry-summary .price {
margin-right: 20px;
}
Best Regards
yes … that’s perfect.
Thank you very much.
Jiri H.
You are welcome! If you have any questions please feel free to contact us.
Best Regards
The topic ‘Price next to on stock – simple product’ is closed to new replies.