Home User profile
tagDiv Member
This user did not write anything. So we are just showing here some random text to make the profile page look nice :)
DaveS
tagDiv Member

Hi,
thanks for your participation, but I’m not sure what exactly to do, so I will wait for the support for better instructions.
Thanks

DaveS
tagDiv Member

OK, I understand that redirecting the woocommerce 404 to a normal wordpress page is not a good practice (as there will be wrong header and this will result in negative SEO), as well as creating unnecessary server request. I hope you will give the most optimized solution.

Thanks

DaveS
tagDiv Member

I have the absolutely same question about the 404 page in woocommerce. Is it an acceptable practice to redirect to a custom build page (a normal wordpress page build with Visual Composer) and if yes, how can I do that?

Thanks

DaveS
tagDiv Member

Hey Simion,
thank you for your patience and time spent helping to successfully solve our issue!
I opened all 4 files with notepad++ and UTF 8 wasn’t checked so I converted them to utf 8, then re-uploaded on the server, and it finally worked!!!
CHeers!

DaveS
tagDiv Member

Hi guys,

all magazine urls, and the shop urls, additionally, are in Cyrillic. I don’t want to change this. I never had any issues with this, so far.

Simion, thanks for your research and advice. I only can understand how to do the SQL command, which is suggested in your second link. However, I get an error before executing the command:
https://www.dropbox.com/s/obzy3nz3cqrorao/demo-1.jpg?dl=0

I made a print screen on the tables in the database where their encoding is visible. Maybe it could help:
https://www.dropbox.com/s/kiem8m5n1m987e1/tables.jpg?dl=0

Simion, one more thing – the suggested above editions change the url of the logo (even not properly), but when I scroll down, the url of the logo in the sticky menu changes back to the default url of the home page of the magazine. I guess there are some more edits needed in order to fix this.

Here are once again both files that were edited:
https://www.dropbox.com/sh/6ok6oj1sh5s7vur/AAAS4ZSdT9TOW-EvEqD65Bysa?dl=0

As always – thanks for your constant support!

DaveS
tagDiv Member
DaveS
tagDiv Member

It works
Thanks

DaveS
tagDiv Member

Hi,

when I change the slug from Cyrillic to Latin: магазин -> shop , then the modifications works. But the slug can’t be switched to English/Latin. Could the issue be in the encoding? DO you know of a code that could solve this?

Thank you

DaveS
tagDiv Member

Hey Simion,

I added another category with child categories (dropdown) in the shop menu and it doesn’t have the styling (css provided above) assigned. What should I change in the code placed in the custom css field?

Thank you

DaveS
tagDiv Member

I did it, added the closing tag and a double quote to all 4 places (in both files in my child theme; the files have rights 644), tested in Chrome and Firefox incognito mode – no change…

I realized that I had the files in folder newspaper-child/parts/ and moved them to the folder newspaper-child/parts/header/

What changed – the logo on all shop pages finally got a new url assigned, but it leads to 404 page.

The url looks like this http://www.domain.com//�������/

DaveS
tagDiv Member

Hi Bogdan and Simion,

I followed the steps exactly as described by Simion, but for some reason now nothing changes.

Here are both files:

https://www.dropbox.com/sh/6ok6oj1sh5s7vur/AAAS4ZSdT9TOW-EvEqD65Bysa?dl=0

Unfortunately the url of the logo doesn’t change.

I tried to use them in the child and in the main theme – no result.

I would appreciate you if you take a minute and have a look, maybe I have a typo somewhere…

I really enormously appreciate your constant support with solving all our issues so far, thank you!

DaveS
tagDiv Member

Hey,

I changed the code for retina and not retina in the file logo.php – nothing changed in the front.
Then after editing the code for retina in the file logo-h1.php – the logo disappears from both – the site and the shop.
I never see a link to the shop when hovering the logo while visible.

DaveS
tagDiv Member

…if retina…
<?php echo esc_url(home_url( ‘/’ )); ?>”>

…not retina…
if (is_woocommerce() or is_cart() or is_checkout()) { echo esc_url(home_url( ‘/магазин/’ )); } else {echo esc_url(home_url( ‘/’ ));}; ?>

  • This reply was modified 9 years by DaveS.
DaveS
tagDiv Member

Sorry, I can’t paste my code here to show

DaveS
tagDiv Member

It’s not working on my side. I have both files in my child theme. I edited both files as follows:

View post on imgur.com

But nothing changes. The logo on woocommerce, cart and check out pages still points to the home page of the site, not to the shop home page (www.domain.com/магазин/)

DaveS
tagDiv Member

I added the missing part of the code before your reply 🙂

DaveS
tagDiv Member

Hi,

No success. The site and shop are in Cyrillic and the url structure is in Cyrillic too, so I tried with /shop/ , as you suggested, and with the word in Cyrillic /магазин/
The logo still always leads to the home page of the site.

DaveS
tagDiv Member

It works, but I found another issue – the cart and checkout pages use the default menu on mobile, but not the woocommerce menu. How to fix that?

Thanks

DaveS
tagDiv Member

A quick note, in case it helps – I’m using a child theme

DaveS
tagDiv Member

Hi,

here’s my code:

if (is_woocommerce() or is_cart() or is_checkout() ) {
wp_nav_menu(array(
‘theme_location’ => ‘w-menu’,
‘menu_class’=> ‘sf-menu’,
‘fallback_cb’ => ‘td_wp_page_menu’,
‘walker’ => new td_tagdiv_walker_nav_menu()
));}

else {
wp_nav_menu(array(
‘theme_location’ => ‘header-menu’,
‘menu_class’=> ‘sf-menu’,
‘fallback_cb’ => ‘td_wp_page_menu’,
‘walker’ => new td_tagdiv_walker_nav_menu()
));

}

It’s the same as yours, isn’t it?

I definitely need a solution for this as half of the traffic to the site is from desktop devices.

Thanks

DaveS
tagDiv Member

Hey Simion,

please visit bit.ly/2vj1QS2

Thanks

DaveS
tagDiv Member

Guys, it seems that there’s one more thing – the visual part. The styling (padding, capitalizing, hover effect etc.) of the drop down menus in the menu dedicated to woocommerce pages appear differently compared to the styling of the default drop down menu.
Please see here: http://imgur.com/a/UJ9VH

I need to fix this only for the desktop version of the menu.

Any help will be much appreciated.
Thanks.

DaveS
tagDiv Member

Cool, it works, thanks!

DaveS
tagDiv Member

Hey guys,

I recently found out that the shop menu dedicated to woocommerce pages is not showing on mobile, but only on desktop devices. Instead of it, the primary site menu appears. Any ideas what else should be changed in order to fix this?

Thank you.

DaveS
tagDiv Member

salochary, you can use a child theme and you don’t have to make it every time you update.

Viewing 25 posts - 76 through 100 (of 161 total)