• I create a shop_greeting and a product_greeting, for woocommerce.
    So in the product_greeting, I’ll have another shortcode inside of that.
    For example: easter_special, xmas_special, etc.

    The website I’ve created for my sister, may have different options that may change.
    Like delivery times. [sc name=”time”]
    Also like delivery fee. [sc name=”fee”]

    Then for each product I add [sc name=”product_greeting”], so when I edit the product_greeting shortcode, this will change it for every product.

    Here’s an example:

    Free Delivery during the COVID-19 Crisis.
    
    Free delivery within 100 km of ### ###
    If you are outside the 100 km range, you must spend at least $100.
    [sc name="time"]
    Return your mason jar for $1 off your next purchase.
    How to pay:
    
    PayPal
    Pay with e-transfer
    Square
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter ImageFragaGeddon

    (@fragageddon)

    I must add this is great for changing something across multiple pages and products.
    This might be extreme, but maybe you have 100+ pages where you state your delivery fee [sc name=”fee”]

    Now just change it in shortcoder and it’ll be done everywhere. No more trying to remember where you have set that variable on which page(s), product(s), etc.

    • This reply was modified 5 years, 8 months ago by ImageFragaGeddon.
    Plugin Author Imagevaakash

    (@vaakash)

    Hi @fragageddon,

    Happy to see that you are using shortcoder nicely !
    Cheers !

    Thanks,
    Aakash

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘How I use my Shortcoder!’ is closed to new replies.