• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

WooCommerce- renaming the WordPress SQL table prefix?

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › WooCommerce- renaming the WordPress SQL table prefix?

This topic is: resolved

Tagged: download link, WooCommerce

  • This topic has 4 replies, 2 voices, and was last updated 11 years, 7 months ago by haliano.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • December 29, 2014 at 10:10 am #135547
    haliano
    Participant

    I am having an issue with the emails being sent out to customers- they do not contain the download link to the product.

    I found this: http://docs.woothemes.com/document/completed-order-email-doesnt-contain-download-links/

    Which says "This happens because a SQL table called wp_woocommerce_downloadable_product_permissions is missing in your database.

    When activating WooCommerce, a few new SQL tables are added in your database. You can find the list of all tables here. But this process can fail sometimes if the WordPress SQL tables prefix is too long: the table name can’t contain more than 64 characters.

    To solve this issue, there’s only one single solution: renaming the WordPress SQL table prefix. "

    I installed the Change DB Prefix plug in, but I am not sure what I am changing to what in order to fix this issue. Can you tell me what I need to type in these boxes:

    existing prefix
    new prefix

    Thanks!

    http://www.onlypassionatecuriosity.com
    December 29, 2014 at 9:46 pm #135624
    Ren Ventura
    Member

    You will need to be very careful because doing this can easily break your entire site. It's also a large risk to take without knowing for sure that this is the problem. Do you know how many characters your DB prefix is? Since this is much more dangerous than editing files, you may want to consider hiring a developer to look into it. In the very least, make sure you have a backup before doing anything to the database.


    Web & Software Developer & Blogger | RenVentura.com | Follow Me on Twitter @CLE_Ren

    December 29, 2014 at 9:53 pm #135627
    haliano
    Participant

    Hi Ren,
    Thanks for your feedback- I totally agree, this is probably too risky. After talking to the WooCommerce people, they are suggesting that this issue is something my host needs to fix. I'll contact them.

    December 29, 2014 at 10:07 pm #135632
    Ren Ventura
    Member

    That's what I initially thought but then I reread and saw that your emails are indeed sending (just without a specific portion). If a host was causing this, it would be interesting to know how. If not, they'll probably tell you to look in the code. If they aren't able to help, another place to check would be your WooCommerce email templates if they may have been edited at some point. Hopefully you get it working.


    Web & Software Developer & Blogger | RenVentura.com | Follow Me on Twitter @CLE_Ren

    December 29, 2014 at 10:09 pm #135633
    haliano
    Participant

    This is what they told me

    "Ok so then this isn't a WooCommerce issue per say but server level. Some servers do not allow "Force Downloads" due to size limitations. So please consult with your host to see what options you have in that regards. "

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘WooCommerce- renaming the WordPress SQL table prefix?’ is closed to new replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble