I'm sure the shopping cart page?

When entering the shopping cart page, for some reason nothing is displayed

5e0ca7daab910611383991.png
5e0ca7eeb5bb7034171021.png
April 4th 20 at 00:29
1 answer
April 4th 20 at 00:31
Everything on it should be (shortcode basket) is displayed.
And the goods where ? - travon_Bechtelar commented on April 4th 20 at 00:34
@dedric.Konopelski, inside shortcode - Lorenz87 commented on April 4th 20 at 00:37
@danielle1, so I have no items on this page or what you need to do to make them reappear ? - travon_Bechtelar commented on April 4th 20 at 00:40
On the shopping cart page should not be commodities. There needs to be orders made by the customer. - Lorenz87 commented on April 4th 20 at 00:43
@danielle1, Yes, I mean it meant, but there are none (of these orders)

This is a bug or need some sort of cycle to run ? - travon_Bechtelar commented on April 4th 20 at 00:46
@danielle1you know what could be the problem ? - travon_Bechtelar commented on April 4th 20 at 00:49
@danielle1, used a theme from underscore - travon_Bechtelar commented on April 4th 20 at 00:52
The problem is most likely that you messed up teh resource and histogram.
I can make one forum of psychics - there's not a bad guess based on pictures. - Lorenz87 commented on April 4th 20 at 00:55
used a theme from underscore

To take the subject, with full support for woocommerce Charter prohibits your sect? - Lorenz87 commented on April 4th 20 at 00:58
@danielle1, I have just 2 themes to underscore, and they both don't display the cart page
To take the subject, with full support for woocommerce Charter prohibits your sect?

I watched the storefront, but there is not just the withdrawal of baskets made, because all logic is associated with class-storefront-template-function.php - travon_Bechtelar commented on April 4th 20 at 01:01
@danielle1, and you used the theme from underscore ?
Maybe if you all worked, so I have some problems - travon_Bechtelar commented on April 4th 20 at 01:04
@danielle1, I found the error, the problem was this:

add_filter( "the_content", "add_class_content" );

add_class_content function( $content ) {
 if ( is_product() ) {
 $with new_text = preg_replace('/<p([^>]+)?>(?!.*<p)/s', '<p$1 class="additional__additional descr__descr-note">', $content, 1);
 return str_replace( '<p>', '<p class="additional__descr">', $with new_text );
}
}


The fact that I wanted the last text, add class, and why I then all the content is replaced ? - travon_Bechtelar commented on April 4th 20 at 01:07
@danielle1, in short had to be so )

add_filter( "the_content", "add_class_content" );

add_class_content function( $content ) {
 if ( is_product() ) {
 $with new_text = preg_replace('/<p([^>]+)?>(?!.*<p)/s', '<p$1 class="additional__additional descr__descr-note">', $content, 1);
 $content = str_replace( '<p>', '<p class="additional__descr">', $with new_text );
}
 return $content;
}
- travon_Bechtelar commented on April 4th 20 at 01:10
@dedric.Konopelski,
Let me tell you a secret: in addition to Storefront there are still a few thousand of those with full support for WOO. - Lorenz87 commented on April 4th 20 at 01:13

Find more questions by tags WordPressWooCommerce