WPIntell

Source evidence

Frontend missing

Black Friday and Cyber Monday Deals for WooCommerce · support · 2019-11-23T18:11:00+00:00

mixedsentiment
mediumseverity
0.85relevance
4replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

10 / 67 rows with source links

14.9% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

57 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
zed93 resolved
It seems the reduced products are not recognized by woocommerce as “sale” items. When i use a woocommerce shortcode to list products in “sale” none are displayed. How can I show the reduced products on the frontend ? The sale prices aren’t actually being changed in the database, it is happening on the fly based on the promotion configuration. We added a new attribute to the products shortcode called pw_black_friday. To use it, append the pw_black_friday attribute to your products shortcode. For example: [products limit="4" columns="2" pw_black_friday="8" ] This will show 4 products in 2 columns from the Black Friday event “8”. For more information on the products shortcode, follow this link: https://docs.woocommerce.com/document/woocommerce-shortcodes/ Note: to get the Black Friday ID, click on the Deal inside the event to edit it. You will see the ID in your browser bar. Thank you for the answer. What about if I’m using Elementor ? The only way to obtain the list of the reduced products is using the woocommerce products shortcode ? That’s correct, the sale prices themselves are not changed in the database so you can’t query on the sale price field. The sale price is changed using the WooCommerce hooks. Marking this thread as resolved, let us know if you need anything else. Best of luck with your store!

Comments

4 shown
pimwick 2019-11-23T21:29:00+00:00

The sale prices aren’t actually being changed in the database, it is happening on the fly based on the promotion configuration. We added a new attribute to the products shortcode called pw_black_friday. To use it, append the pw_black_friday attribute to your products shortcode. For example: [products limit="4" columns="2" pw_black_friday="8" ] This will show 4 products in 2 columns from the Black Friday event “8”. For more information on the products shortcode, follow this link: https://docs.woocommerce.com/document/woocommerce-shortcodes/ Note: to get the Black Friday ID, click on the Deal inside the event to edit it. You will see the ID in your browser bar.

zed93 2019-11-23T22:08:00+00:00

Thank you for the answer. What about if I’m using Elementor ? The only way to obtain the list of the reduced products is using the woocommerce products shortcode ?

pimwick 2019-11-25T16:04:00+00:00

That’s correct, the sale prices themselves are not changed in the database so you can’t query on the sale price field. The sale price is changed using the WooCommerce hooks.

pimwick 2019-12-02T18:11:00+00:00

Marking this thread as resolved, let us know if you need anything else. Best of luck with your store!