CharlyIBC
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin: WooCommerce] Direct sub-category to outside site linkI opted to do the Redirect 301, since I had no replies. It works, but I would rather it open in a new tab.
While researching how this may be done, I came upon this thread:
At the end, Thiago put in code that worked for him:
<?php if ( function_exists('redirect') ){echo'target="_blank"';} ?>
Only he doesn’t state where he placed the code. Anyone have an idea?
Thanks!
Now using WC 2.4.12
Forum: Plugins
In reply to: [WooCommerce] How to removeI would recommend you create a child theme, which you then can copy/paste the theme’s css style sheet over to it and make all the changes you wish to. With a child theme, updates won’t overwrite what you’ve done.
Try this:
.site-info { display: none !important; }
Personally I don’t use a custom CSS plugin. Your child theme will cover that once you create it and its CSS style sheet.
Also whether your web host does or does not do backups of your site, I would suggest you make your own backups from your web host cPanel.
Forum: Plugins
In reply to: [WooCommerce] How to removeYou could call your web host, tell them what you did and if they’re a good company, the tech will help you restore footer.php from the most recent backup of your site.
Forum: Plugins
In reply to: [WooCommerce] Variation SKU changes refuse to saveI did a hard shut down and it seems to be working now. Guess something cached and wouldn’t allow the changes. Sorry for the bother, thanks for your time Mike!
Forum: Plugins
In reply to: [WooCommerce] Variation SKU changes refuse to saveHi Mike,
Yes. I’ve checked and have no product with that sku and tried a different one altogether. I cleared out all SKU data from one print and tried entering a few and it would not save. Still receiving error. ??
With this latest version does WC recommend not using Duplicate? I mean that makes for adding products faster.
Thanks!
EDIT: I checked my error logs on server and there’s none
Forum: Plugins
In reply to: [WooCommerce] Variation SKU changes refuse to saveDeactivated all plugins, tried Twenty Fourteen theme one more time and still get the error: variation sku must be unique. It happens when trying to change the Duplicate product sku’s and on adding a new product.
I’m at a loss on what to try next. I’d really appreciate any help given!
Forum: Plugins
In reply to: [WooCommerce] Variation SKU changes refuse to saveFuthermore, I added everything to my php.ini per doc on large amount of data not saving by WC and updated to WC 2.4.10; still no joy ??
While I appreciate the devs for their hard work and long hours, I shouldn’t have to spend countless hours trying to troubleshoot why WC isn’t working with an update to WC or WP.
Though I’m comfortable enough messing around with code, most aren’t and after 5-6 hrs. I still cannot add a new print to my Galleries…
Forum: Plugins
In reply to: [WooCommerce] Variation SKU changes refuse to saveForgot to mention I did add the 20+ variations code to my child theme functions and that too did not help
Thanks royho! I figured it was either WP or theme related. Though I didn’t want to change every image caption, I am doing that now.
I had to use the html code for the double quotation mark to make it work, instead of typing it
Forum: Plugins
In reply to: [WooCommerce] Remove quotes from add to cart messageYep that was it. Needed to plain text it and now it works! Thanks ever so much for your time and the code!!!! ??
Have a great day!
Forum: Plugins
In reply to: [WooCommerce] Remove quotes from add to cart messageThanks! But unfortunately that breaks my site. ?? I removed the OP code and tried placing your code in my child theme functions.php file; gave me the dreaded white screen. Also tried just putting it in the theme functions.php file after removing it from the child theme and no joy either; again the white screen
In the OP code it’s just ” perhaps removing the ld and rd will work? Or maybe it’s the wp_org_update since the previous code was wc_? Any thoughts?
EDIT: Or maybe it’s cuz there’s no 10, 1?
Forum: Plugins
In reply to: [WooCommerce] Remove quotes from add to cart messageOh my that seems like a lot to do just to remove quotes. Don’t really like that I have to install another plugin to do something that was taken care of in functions.php over numerous versions of WC I used.
Any chance you would know what I need to change in the OP code to do this? Or where I could manually remove it from WC file? Yes I know with an update it will be gone, but I have a child theme and would like to place it somehow in it. Thanks!
Forum: Plugins
In reply to: [WooCommerce] Remove quotes from add to cart messageThis is what I used, but it didn’t work:
$translated = str_ireplace('“%s”', '%s', $translated);
Do you see what is amiss? Thanks!
Forum: Plugins
In reply to: [WooCommerce] Remove quotes from add to cart messageThanks for the reply royho! I’ll give that a try. Yet if memory serves, I tried that long ago and it didn’t work right. Although with the newer version it might now.
Really appreciate you taking the time to answer! I’ll post if it works or not. ??