madriverweb
Forum Replies Created
-
Going back to the original topic of changing the word Collection, wouldn’t a PHP snippet like this work. I tried it with 10,20,30 and could not get it to work.
function vfr_change_text_collection( $translated_text, $text, $domain ) {
if( $domain == ‘woocommerce’ ){
switch ( $translated_text ) {
case ‘Collection’ :
$translated_text = __( ‘Local Pickup’, ‘woocommerce’ );
break;
}
}
return $translated_text;
}
add_filter( ‘gettext’, ‘vfr_change_text_collection’, 20, 3 );This post refers to the problem with content missing from the shop page. As background information, I am using the Storefront theme with no child theme but with customizations in the Customizer. When the site was created, WooCommerce assigned post 6 to shop. I worked within that page for a while but didn’t find the flexibility I wanted. So I created a home/Front page 184, added a Hand-picked products block, put text content inside it, and worked on that page for a while through post revision 227. I then decided to assign this as the Shop page with post 232 (trashed) and add a code snippet post 223 Shop Bottom at the bottom. Then I retired post 184. All of this can be seen in the screenshots below.
This is a link to a database screenshot:
https://shop.vermontfolkrocker.com/wp-content/uploads/database_revisions2025-03-10.jpgThis is a link to the view of my admin Pages:
https://shop.vermontfolkrocker.com/wp-content/uploads/adminPages2025-03-10.jpgThis is a link to the content of the various pages during this process culled from a mySql export:
https://shop.vermontfolkrocker.com/wp-content/uploads/mySqlPosts2025-03-10.jpg
You can see that at one time the content in the shortened current Front Page, Shop Page post 233 where the information is missing had been inserted inside the Hand-picked products block, post 227.Here is a link to the Front/Shop page in the admin:
https://shop.vermontfolkrocker.com/wp-content/uploads/adminShop2025-03-10.jpgI tried hard refreshes. The page still shows the hand-picked products even though the block is not there. My question now is, do I try to “fix” this page by adding the hand-picked products block again? Or leave it as is and assume it will continue to work properly.
I will work on the Collection issue tomorrow.Is the inability to change “collection” because it is now in a block rather than in a template?
The CSS you provided to hide “free” only hides one of those words on the cart page. While I can probably figure out how to hide the other, does your company realize the extra cost this inflexibility and poor choice of words costs us. I’ve already spent a few hours on this, as I noted including searching templates, that I don’t feel I can charge my client because it’s not his fault that your block lacks flexibility.
Why can’t Woo make a change to use the words Local Pickup consistently instead of using the less accurate word collection?A review of posts in my database shows that some of the content on the home/shop page disappeared, namely the Hand-picked block, when I made the shop page also the front page. Have you seen this before, and should I add that block back into the home page? Strangely, the live home/shop page still shows the four products.
Please don’t ask me to make this a separate post. We need to launch. I appreciate any help and feedback you can provide.
So, regarding my added topic above, fourth screenshot, I just found that I could change the words in the “Empty Cart” block on the bottom of the Cart page, and did so. I could not unlock or duplicate the block to avoid changing the default, but it let me change the contents.
Now, however, my home/shop page is corrupt. All of the content below the first paragraph is missing in the admin, even in the revision history, yet the page still shows the product and snippet of code below the handpicked product block. HELP.
No change in requests/problem related to collections and free.The site URL is https://shop.vermontfolkrocker.com/. If you put an item in the cart and choose local pickup you can see the problem. I’m sharing two screenshots related to this with collections and free circled in red:
https://shop.vermontfolkrocker.com/wp-content/uploads/Cart2025-03-09.jpg
https://shop.vermontfolkrocker.com/wp-content/uploads/Checkout2025-03-09.jpg
1) We would like it not to say free or anything else in those two spots, and 2) we would like Collection to say Pickup or Local Pickup, just like the title. If you had a unique CSS identifier in either of these spots, we could simply hide excess words that we did not choose.
I’m also including a screenshot of my admin.
https://shop.vermontfolkrocker.com/wp-content/uploads/AdminLocal2025-03-09.jpg
The new approach, which I can’t find in any documentation, does not give any options for the above words. I’ve ready a few comments here and there, or perhaps even in the documentation, about people coming to collect their items, but they are more generally and naturally-speaking coming to pick up their items. “Collection” is more of an accounting term, not appropriate here.
I’m also attaching a screenshot of another annoyance. When I remove the last item from a cart, the system brings me back to the cart page which may or may not be the best choice, BUT who got the idea to put the words “New in store?” There is no way to hide that either because your developers did not insert unique CSS identifiers. If that h2 had an anchor or an attribute, we could hide it. We can hide the sad face and “your cart is empty” but we cannot hide “new in store.” These items are NOT new in store–totally WRONG.
https://shop.vermontfolkrocker.com/wp-content/uploads/CartEmpty2025-03-09.jpg
See the pattern: unique CSS identifier. Poor coding. But more flexibility on our heading choice, or just not putting in extra or alternate words would be preferred.
We are hoping to launch this store tomorrow if we can find a way to solve this problem. Thanks for your help.Food for thought, at the refresh of every 5 seconds, that was 12/minute x 60/hour x 24/day x 30/month = 518,400 visits if someone leaves the page open, on one website. At 30 seconds, 1/6 of this amount. I had a $74 overage last month on WP Engine in an account which allows 100,000 billable visits. My projected billable visits for this month are 55% of what they were on the entire account last month since I shut the page, and well under my 100K limit. Again, not verified that these were billable visits, but I would expect them to be.
Thanks again for looking into this. Your tool is invaluable.Thank you! I verified that this works on the international site and a local site. And thank you for the other update, too.
Great! Look forward to checking it out.
Thank you! I like all three considerations you noted. I see you just updated to 30 seconds. Still seems too often. Why would 5 minutes not be frequent enough? We can refresh to see if other colleagues have made updates.
Forum: Plugins
In reply to: [Genesis Blocks] accordion block no longer available?Just makes more work for us to figure out the problem. It’s still in the Studio Press documentation and in the plugin description:
Forum: Plugins
In reply to: [Genesis Blocks] accordion block no longer available?I agree. Why remove if there is no problem. I was just looking for it myself in a site I already use it in.
Hi Eskapism, any idea when you will have a new update with correct times? This is difficult working with a large organization of people making updates from different time zones including a few tech support people and not knowing the correct time.
Great. Hope we can get this fixed soon. Being 12 hours off makes it hard to tell who has done what when.
I just checked another website in my time zone, same issue. Displayed time is correct but local and GMT are mixed up in dropdown. Simple History version 5.0.1.