- This topic has 7 replies, 3 voices, and was last updated 4 years ago by David.
-
AuthorPosts
-
March 23, 2020 at 6:36 am #1207301Dmytro
Good afternoon! I make an online store (pizza and sushi delivery). Delivered by Merch, but I need your help on the following issues:
1. On the main page I want to make TOP – 10 products. How do I make the add to cart button so that the dish is immediately added to the basket? (screen 1)
2. When I add the product to the basket on the computer version, the following pop-up window is displayed (screen 2).
You need to either hide this window or find in which folders these words are located and make a translation into Russian. I could not find.
3. I want bread crumbs to be displayed not only on the pages of the store, but also on the pages contacts, delivery, promotions, my account (screen 3,4,5)
4. On the store’s category pages (for example, pizza or other pages, the category name is not displayed at the top? (Screen 6) If I write a description in the category – the word Pizza (the description is displayed on the store page (menu), and not inside the category) (screen7)Help me please. Thanks in advance.
March 23, 2020 at 2:24 pm #1207917TomLead DeveloperLead DeveloperHi there,
1. You may need to use a plugin like this: https://wordpress.org/plugins/woocommerce-quick-buy/
2. You can turn this off in Customize > Layout > WooCommerce: Display cart panel on add to cart
3. I’m not sure WooCommerce allows for this. You may need to use another breadcrumb solution for that (Yoast SEO etc..)
4. Try turning on “Display page title” in Customize > Layout > WooCommerce.
Let me know 🙂
March 24, 2020 at 9:02 am #1208655Dmytro1. I installed a quick buy, but any page on the site does not open and there are redirection to the main page. There may be a conflict of plugins, for example, with a buy one-click plugin from Sapfali. I will look for other plugins. I will be glad to advice.
2. question number 2 – thanks, everything works fine! 👍👍👍
3. question number 3 – I wanted to ask. In the description for Yoast, I need to add it to header.php<?php if ( function_exists('yoast_breadcrumb') ) { yoast_breadcrumb( '<p id="breadcrumbs">','</p>' ); } ?>
or
<?php /** * Хлебные крошки Yoast */ if ( function_exists( 'yoast_breadcrumb' ) ) : yoast_breadcrumb( '<div>', '</div>' ); endif; ?>
but it also doesn’t work and writes your changes in the PHP code were canceled due to an error on line 76 of the wp-content / themes / generatepress / header.php file. Correct and try to save.
syntax error, unexpected ‘<‘, expecting end of file4. question number 4 – does not work (((
March 24, 2020 at 6:17 pm #1209059TomLead DeveloperLead Developer1. The plugin breaks the site completely? No button at all?
3. You could create a new Hook Element:https://docs.generatepress.com/article/hooks-element-overview/
Then add this as the hook content:
<?php if ( function_exists('yoast_breadcrumb') ) { yoast_breadcrumb( '<p id="breadcrumbs">','</p>' ); } ?>
Then choose the location, check Execute PHP and set your Display Rules.
4. Go to Customize > Additional CSS, then find and remove this CSS:
.tax-product_cat .woocommerce-products-header { display: none; }
March 26, 2020 at 6:00 am #1210586Dmytro1. Question number 1. Perhaps, on the first question, I did not correctly express myself. Need to add a button – add to cart. When the user clicks on the button, the product is added to the basket, without redirects.
3. Question No. 3. Everything works, but I need to remove the inscription from the crackers from the main page – Home. Excluding the display of breadcrumbs on the main page with a hook did not help.
4. Question number 4 – all is well 👍👍👍March 26, 2020 at 7:13 am #1210643DavidStaffCustomer SupportHi there,
1. That is the default behaviour of the shop item add to cart – the only reason it will go to the Single Product page is if the item is out of stock or there are variations.
3. In your Hook Element exclude:
Front Page
March 27, 2020 at 12:40 pm #1212363DmytroThank you very much!
March 28, 2020 at 3:56 am #1212799DavidStaffCustomer SupportYou’re welcome
-
AuthorPosts
- You must be logged in to reply to this topic.