$conf, $runtime; function_exists('chdir') AND chdir(APP_PATH); $r = 'mysql' == $conf['cache']['type'] ? website_set('runtime', $runtime) : cache_set('runtime', $runtime); } function runtime_truncate() { global $conf; 'mysql' == $conf['cache']['type'] ? website_set('runtime', '') : cache_delete('runtime'); } register_shutdown_function('runtime_save'); ?>woocommerce offtopic - Add to cart is not visible in product page|Programmer puzzle solving
最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

woocommerce offtopic - Add to cart is not visible in product page

matteradmin7PV0评论

Anybody know how to make the "add to cart" visible on product page? I did an update of content-product.php and after that the add to cart and choose style options are gone. Please check the link below:

/

Anybody know how to make the "add to cart" visible on product page? I did an update of content-product.php and after that the add to cart and choose style options are gone. Please check the link below:

https://twinklebelle/product-category/rain-gear/rain-pants/

Share Improve this question edited Mar 1, 2019 at 18:37 rudtek 6,4035 gold badges30 silver badges52 bronze badges asked Mar 1, 2019 at 16:59 KevinKevin 1
Add a comment  | 

2 Answers 2

Reset to default 0

The link you provided was a category page.

When I went to a product page, the add to cart and options were visible.

Please find this CSS file https://twinklebelle/wp-content/themes/customizr-child/style.css?ver=4.1.30

and find this css code .woocommerce .products .product_type_variable and replace this correct css code into css file

.woocommerce .products .product_type_variable {
    display: block;
}
Post a comment

comment list (0)

  1. No comments so far