• Resolved majidazad

    (@majidazad)


    hello.
    i have created a page in order to show products on sale.i put a shortcode in description part of page.i mean not title of page.but result is the text of shortcode instead of list of products.
    any help?
    thanks.

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi @majidazad!

    Thank you for reaching out.

    If you want to set a page with on-sale products, you could do it using the [sale_products] shortcode on the page you created for that.

    If you want to add it, once you are editing the page, search for the shortcode block and then add the [sale_products] shortcode. Then, press the Update button, and your page should display all items that are on sale.

    More about WooCommerce shortcodes and how to use them here:
    https://woocommerce.com/document/woocommerce-shortcodes/#how-to-use-shortcodes

    I hope this helps!

    Thread Starter majidazad

    (@majidazad)

    thanks.it was helpful.
    can you help me to know where is the shortcode part while editing a page?
    i have no shortcode part in page editor.

    Thread Starter majidazad

    (@majidazad)

    first part of your video is so fast that i did not understand how to reach a shortcode box.

    Thread Starter majidazad

    (@majidazad)

    i did it.but still the text of shortcode is shown not the result of shortcodes runnning.

    Plugin Support Stuart Duff – a11n

    (@stuartduff)

    Automattic Happiness Engineer

    Hi @majidazad

    When viewing a page or post in WordPress you’d search for the shortcode block. After adding the shortcode block to a page or post you’d then paste the shortcode within that block.

    You could as an alternative also use the On Sale Products block which comes with WooCommerce. This can be inserted into a post or page of WordPress when using the default WordPress post editor.

    https://snipboard.io/JQgNkF.jpg

    Thread Starter majidazad

    (@majidazad)

    thanks.the alternative way was helpfull and did the job.

    Plugin Support Stuart Duff – a11n

    (@stuartduff)

    Automattic Happiness Engineer

    Hey @majidazad

    I’m happy I could help and I’ll set this topic as resolved. If you require any assistance in the future please open a new support topic on the forums.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘shortcode not work’ is closed to new replies.