Your question should be specific to WordPress. Generic PHP/JS/SQL/HTML/CSS questions might be better asked at Stack Overflow or another appropriate Stack Exchange network site. Third-party plugins and themes are off-topic for this site; they are better asked about at their developers' support routes.
Closed 5 years ago.
Improve this questionI've added a Products Shortcode to the single product page in an accordion section. The Products are displaying as expected with the relevant names, but the price shown for each is the Single Product Price.
Does anyone have any ideas about what's happening here?
I have written the following code in my functions file to retrieve the cross sell ids that I pass into the shortcode. Could this be causing conflict?
global $product;
//Check for Cross Sells
if ( !empty( $product->get_cross_sell_ids() ) ) {
$cross_sell_ids = implode(',',$product->get_cross_sell_ids()); t
}
Thank you in advance
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744926000a4601439.html
评论列表(0条)