Forum Replies Created
-
AuthorPosts
-
`function avia_breadcrumbs_trail_mod($trail)
{
if ( is_product() || is_product_category() ) {
$trail[1] = ‘<a href=”https://shop.akhurst.com/” title=”Product Page” rel=””>Home</a>’;
}
return $trail;
}
add_filter(‘avia_breadcrumbs_trail’, ‘avia_breadcrumbs_trail_mod’, 50, 1);Hi Mike,
Sorry for the missing information. It’s just because Ismael told me to open another thread.
We solved the initial issue, and I got mixed up with another topic. My bad ;)I want to show the correct breadcrumb information: Home (https://shop.akhurst.com/) since the website’s home page is not http://www.akhurst.com/. We use a multisite platform, but we dont have this issue with the other parent companies (Cantek, Leadermac).
Ismael sent me this code:
function avia_breadcrumbs_trail_mod($trail)
{
if ( is_product() || is_product_category() ) {
$trail[1] = ‘Home‘;
}
return $trail;
}
add_filter(‘avia_breadcrumbs_trail’, ‘avia_breadcrumbs_trail_mod’, 50, 1);Another thing I’ve been trying to solve for a while is making me crazy ….
The HOME link in the breadcrumb doesn’t go to the Shop’s Home Page; it goes to the Akhurst website’s homepage.It should go to https://shop.akhurst.com/ and not to our main Akhurst website.
Is there a way I can fix this? Please….https://shop.akhurst.com/product/canmx722413/
https://snipboard.io/zp0Pnh.jpgWorked 100% fine!
Thank you sooooooooo much ;)Awesome! Both worked 100% fine!
Thank you so much ;)I wish I could also split the SKU and categories into different lines.
Is it possible?Oh God …
So you’re saying that I should upload it from the Zip File, overwrite it, and then import my settings?
Question: When I save my settings, do all my quick CSSs come together as well?I have to say that I’m a little bit scared…
LeoApril 5, 2024 at 6:07 pm in reply to: All page elements disappears when changing something. #1439297Thanks.
I’ll open another thread.April 5, 2024 at 1:39 am in reply to: All page elements disappears when changing something. #1439242This reply has been marked as private.April 4, 2024 at 6:07 pm in reply to: All page elements disappears when changing something. #1439227This reply has been marked as private.April 3, 2024 at 6:28 pm in reply to: All page elements disappears when changing something. #1439112This reply has been marked as private.April 2, 2024 at 6:27 pm in reply to: All page elements disappears when changing something. #1439018This reply has been marked as private.March 29, 2024 at 2:14 am in reply to: All page elements disappears when changing something. #1438575This reply has been marked as private.March 27, 2024 at 1:46 am in reply to: All page elements disappears when changing something. #1438389This reply has been marked as private.March 27, 2024 at 1:42 am in reply to: All page elements disappears when changing something. #1438388This reply has been marked as private.March 26, 2024 at 4:57 pm in reply to: All page elements disappears when changing something. #1438362This reply has been marked as private.March 25, 2024 at 6:00 pm in reply to: All page elements disappears when changing something. #1438291This reply has been marked as private.March 22, 2024 at 5:12 pm in reply to: All page elements disappears when changing something. #1438022This reply has been marked as private.March 21, 2024 at 6:43 pm in reply to: All page elements disappears when changing something. #1437810This reply has been marked as private.March 21, 2024 at 5:40 pm in reply to: All page elements disappears when changing something. #1437795This reply has been marked as private.January 24, 2023 at 1:05 am in reply to: Sidebar issues with Woocommerce product page + Page Templates #1394853Hello!
Any feedback regarding my post?
Thanks, LeoJanuary 19, 2023 at 4:10 pm in reply to: Sidebar issues with Woocommerce product page + Page Templates #1391379Hello,
On our corporate websites, where we sell our machines, all “products” are created individually one by one using the advanced layout. That’s why we have the “perfect” design for every element on the page. Ok.
But now that we’re launching the online shop for parts, we’re importing over 2 thousand products at once in bulk, so we’re not using the advanced layout, we’re using the default Woocommerce single product page layout.So …
What we’re doing on all our websites. Perfection using the advanced layout.
https://snipboard.io/rxS93C.jpg
And here, you can see that the related products are not part of the single-page content, it goes to the alternate content page location.Is there a way to create a page layout using the advanced layout and be the default woocommerce for single products?
If yes, that problem would be solved. If not, probably a CSS to bring this up.Thank YOU!
January 16, 2023 at 9:38 pm in reply to: Sidebar issues with Woocommerce product page + Page Templates #1379018Great!
The sidebar quick CSS worked just fine! Thank you ;)And thanks for the PHP plugin recommendation.
I already conformed with the developer and we’re getting it today!_____
And about the other topic (for now ;)… Is there a way to bring the related products up? When using the advanced layout in our other websites, the related products are “inside” the product main page, and not as “alternate content”.
https://snipboard.io/8Q1DIl.jpg
https://snipboard.io/ZR7XTn.jpgJanuary 13, 2023 at 9:14 pm in reply to: Sidebar issues with Woocommerce product page + Page Templates #1378641Thanks, Mike.
I’ll try this … but I don’t know if we have a child theme installed.
Is there a plugin where I can add/manage CSS in the functions.PHP file rather than having a child theme?
What is the best practice for a regular guy like me?And, about the sidebar line adjustment, I think you forgot to send me the CSS ;)
Thank YOU!
January 13, 2023 at 12:08 am in reply to: Sidebar issues with Woocommerce product page + Page Templates #1378503And … Is there a way to bring the related products up? Like we have using the advanced layout, where it shows together with the product content and not outside, so the sidebar shows on the whole page?
https://snipboard.io/hIFKAD.jpg
https://snipboard.io/BL1NvC.jpgJanuary 12, 2023 at 10:05 pm in reply to: Sidebar issues with Woocommerce product page + Page Templates #1378496Oh God! Great news! But …
I still need some help with this topic:1- Alternate content – background color change.
When I use white for the related products area, my breadcrumbs area just below the main header also goes white.
https://snipboard.io/pdc9wm.jpg
Is there a way where the breadcrumbs area keeps the same way? It’s just because all of our websites are designed this way.
https://snipboard.io/reQIbw.jpg2- How can I get the same sidebar position as our main website?
I used the CSS and PHP codes you sent and tried everything with the values, but I could bring the line separator to the top and the vertical at the same position as our main website.
https://snipboard.io/reQIbw.jpg
https://snipboard.io/M6XJxD.jpg3- how can show 5 related products and the arrow to scroll for more?
It’s showing 4 as default and I don’t know where to find this setup.
https://snipboard.io/mcaJF6.jpgThank YOU!
For now ;)Leo
January 12, 2023 at 3:18 am in reply to: Sidebar issues with Woocommerce product page + Page Templates #1378333Hi Mike,
Sorry for the late reply.
Thanks for your support, as usual …Let’s go with one topic at a time so I can understand better what to do next.
1- Related Products
You can see from the print screen that the related products are going to the bottom of the page together with the footer.
https://snipboard.io/Y3J9U0.jpgHow can I bring them to the top? Like we have on our pages made with Advanced layout?
https://snipboard.io/EO8dZK.jpgThank YOU!
January 6, 2023 at 2:06 am in reply to: Sidebar issues with Woocommerce product page + Page Templates #1377779This reply has been marked as private.Thanks a lot, as usual!
The support team is the best!Thank YOU !!!
It worked ;) -
AuthorPosts