Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

[Support request] Reinstalled WP eStore plugin now all shortcodes have changed

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore General Questions › Reinstalled WP eStore plugin now all shortcodes have changed

Tagged: WP eStore

  • This topic has 7 replies, 2 voices, and was last updated 1 year, 7 months ago by henryp.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • July 25, 2021 at 11:48 am #83392
    henryp
    Participant

    Hello folks,

    I was wondering if anyone could help.
    After a Php upgrade on my site I had to reinstall the WP eStore plugin and now my shortcodes have all changed.

    As an example they are all currently [wp_eStore:product_id:1244:end]
    So now the Buy It Now / Add to Cart buttons are not displaying.

    I think the code should read [wp_eStore_buy_now_button id=1244]

    Would anyone know why this has changed since the reboot?
    I currently have 3800 downloadable products across 265 pages so I seriously hope I don’t have to now change all of them by hand..

    Wordpress 5.8
    WP eStore version 8.2.8

    An example of a product page: [rerdownloads.com/?p=253]
    The whole album download buttons have not been changed, only the individual song downloads. That might be of significance though my head hurts now..

    Thanks if anyone can help, hope I have provided enough information.
    Thanks again
    Henry

    July 25, 2021 at 5:05 pm #83396
    admin
    Keymaster

    You were using the old style shortcodes. WordPress deprecated that style of shortcode so we had to make changes accordingly.

    The following shortcode documentation has list of all the shortcodes:

    WP eStore Shortcodes and Functions Reference

    Edit your product page and update the shortcode and then it should be fine after that.

    You can use search and replace in your database to make this process quicker (if you have a lot of different pages where you use the shortcodes). The PHPMyAdmin tool can be used to search and replace text in your WordPress database.

    For example, you can search for the following:

    
    [wp_eStore:product_id:1244:end]
    

    Then replace that with the following:

    
    [wp_eStore_buy_now_button id=1244]
    
    July 25, 2021 at 6:14 pm #83398
    admin
    Keymaster

    If you are not familiar with using the PHPMyAdmin tool then you can use the following plugin to do a search and replace of the shortcode in your entire site’s database:

    Better Search Replace

    July 26, 2021 at 8:29 am #83399
    henryp
    Participant

    Alright, thanks very much for the response. I have downloaded that plugin.

    Problem is with replacing the code,

    “For example, you can search for the following:
    [wp_eStore:product_id:1244:end]
    Then replace that with the following:
    [wp_eStore_buy_now_button id=1244]”

    Each product has a unique ID eg: [wp_eStore:product_id:01:end], [wp_eStore:product_id:02:end] etc all the way until [wp_eStore:product_id:3800:end]

    So with this in mind, I am guessing it is impossible to mass edit these shortcodes?

    Thanks again for your help!
    henry

    July 26, 2021 at 6:37 pm #83400
    admin
    Keymaster

    Mass editing for that kind of condition will require a new script. Instead, maybe we can introduce that old style shortcode in the Extra Shortcodes addon. Let me know if you are still waiting to do the shortcode replacement or not. If you can wait a couple of days, we can give you an updated copy of the extra shortcodes addon with the old style shortcode.

    On the side note: it’s probably a good idea to use the category option since you have a lot of products. Once you put a bunch of products into a category, you can list all of them from a particular category on a page using a shortcode.

    WordPress eStore Product Categorization

    July 27, 2021 at 10:55 am #83402
    henryp
    Participant

    Hi thanks. Yes, am still waiting to do the shortcode replacement. I mean, I have not solved the problem yet short of editing every product by hand. Am a little lost to be honest with what you said 🙂

    July 27, 2021 at 10:10 pm #83408
    admin
    Keymaster

    We have added the old style shortocde in the extra shortcodes addon. So your existing shortcodes will start working after you install the extra shortcodes addon.

    Download a new copy of the extra shortcodes addon and use it (if you already have this addon installed, delete the one there then download and install the new one):

    WP eStore Shortcodes and Functions Reference

    August 2, 2021 at 8:18 am #83436
    henryp
    Participant

    Thanks for this amazing work around with the short codes add on!

    I am actually still trying to download the add-ons for the past few days. Just having difficulty as I am not the person who bought the eStore plug in (that was my boss, so to speak). Anyway, that is why I have not responded sooner but will message back when I get it sorted. Thanks again!
    Henry

  • Author
    Posts
Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • WP PDF Stamper Documentation
  • WP Photo Seller Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial
  • WP Photo Seller Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Download Monitor

Copyright © 2023 | Tips and Tricks HQ