This topic has 28 replies, 4 voices, and was last updated 5 years, 9 months ago ago by Olga Barlow
Hello,
Edited the staticl block from the visual composer, in this case edited the banner below the woocommerce category pages. What I do not have the option of copying the html code in the new version of gutenberg, does not let me pass from the visual compositor to the html view, and I can not copy it to the static block section.
Another query is that I would like to put it on the category page also below in the product pages,
thank you,
a greeting
Hello,
1) Please update WPBakery page builder plugin to latest version – https://www.8theme.com/documentation/xstore/plugins/plugins-update/ and disable Gutenberg http://prntscr.com/mjf5v5
https://youtu.be/1Nu49dskD1Q
2) Appearance > Widgets > After the products area or http://prntscr.com/mjf6mg
Regards
Hello,
Thank you,
I have been able to perfectly copy the code with your instructions.
Regarding my second query, I mean to put the code below the product page, not on the category page, because for this I already use the static block, I send you an example in the pages that I want to be placed, in all product pages,
https://www.ecomooving.com/es/producto/thule-chariot-sport/
Thank you !
Hello,
You can use Additional custom block in product settings http://prntscr.com/ml4ssm to show the same static block for every product. This block will be displayed below the product tabs.
Regards
Thank you!
One thing, this is above related products, may it be below, in the end?
Thank you
Regards
Hello,
Give me please more information about what you mean or give me screenshots to understand what you mean.
Hello,
change the order, I would like the static block to be at the end of the page,
Thank you
Regards
Hello,
Copy content-single-product.php file (wp-content/themes/xstore/woocommerce) into your child-theme/woocommerce folder and edit content there https://prnt.sc/mmjwkl
Also, there is another solution. If you want to have the same block for all Single product pages, you may set custom pre-footer for Shop page via [8theme] Layout options (it will be inherited by all Single product pages) and hide this block on the Shop using custom css code (Theme Options > Custom css > Global custom css):
.post-type-archive-product .prefooter {
display: none;
}
Regards
Thank you very much for your help,
To create a prefooter for all the pages of the store would be perfect, Could you indicate where I could create it?
grateful,
regards
Your static block will be used as prefooter. To set it for all pages – http://prntscr.com/mmko07 or for Shop page http://prntscr.com/mmknoz
Regards
Hello,
Now it appears very well,
The only thing that I have put the static bloc in prefooter in widgets and in the pages of product categories I see the banner duplicated. On the product page it appears perfect and on the pages.
thank you
a greeting
Hello?
Hello,
Sorry for the delay.
Try to remove your static block from this area – http://prntscr.com/mw62zf
https://youtu.be/4SfPPuwPCVI
Feel free to ask if you have any other questions.
Regards
Hello,
thank you, it does not appear duplicated anymore.
https://ibb.co/TBPPWgz
https://ibb.co/THKnhbK
https://ibb.co/3mcJwQn
The problem now is that when I translate, I do it from a page and then copy and paste the code to the static part of the page. In the main language is fine, but the problem comes when I do the translation, change image and link and when copying the code to the static pad this changes the links for the version of the main language (Spanish) and not the language that I put that would be the French in the example.
Thank you
Hello,
1) Why do you use pages to create content and don’t use static blocks from the start? You just need to enable the WPBakery for the static blocks http://prntscr.com/mwub83
2) You can create static block and translation for the static block http://prntscr.com/mwueft
3) When you create and update translation make sure that you don’t overwrite your translation by the default one http://prntscr.com/mwue1s and http://prntscr.com/mwud19
Also, if you have the new questions that are not related to the current issue, please, create a new topic. Don’t use 1 topic for all the problems you faced to avoid confusion.
Regards
Thank you,
I try it and I tell you,
the program does not let me create a new ticket, I do not know why,
Thank you.
Hello again,
It doesn’t appear to edit the static bloc with visual composer,
I think the page options are fine, I understand that the page must be retracted independently and not click on the overwrite button,
Thank you,
a greeting.
Hello,
What is your WP role: editor or admin? WPBakery has known issue with WP roles and does not allow to use WPBakery for the custom posts types if you logged in as the editor or store manager etc, only for admin. So, try to login as admin and check if you have the editor buttons.
I have passed the problem with topic creation to our developers. They will check and I’ll inform you about the answer.
Regards
Hello,
Before I used a support account but now I have logged in with administrator account and I do not see the buttons either,
I thank you for informing me, since my client wants to open the store and I do not have what I need,
I would also ask you another question, please, since the buttons are not aligned and I need them to be aligned, paste a code but it only works for some woocommerce page, but not for home and others.
thank you
//Limitar el número de caracteres en la página de tienda en WooCommerce
function short_woocommerce_product_titles_chars( $title, $id ) {
if ( ( is_product_category() ) && get_post_type( $id ) === ‘product’ ) {
if ( strlen( $title ) >= 25) { // Si el título del producto es mayor a 25 caracteres
return substr( $title, 0, 20 ); // Acorta el título a 20 caracteres
} else {
return $title; // Pero si el título no es más largo de 30, pone el título completo
}
} else {
return $title;
}
}
add_filter( ‘the_title’, ‘short_woocommerce_product_titles_chars’, 10, 2 );
Hello,
Theme Options > Shop > Products style > Product title chars limit.
Regards
Thank you,
This option has gone perfectly,
Regards
You’re welcome!
Have a nice day.
Regards
Hello,
The home page have the same problem with the links,
I put the link but in don’t fucntion correctly,
My client wants to open the store now and it does not work well ..
Thank you
Hello,
What is it http://prntscr.com/mxtxch ? You should not use a tag in the attribute, you just need to add link to url attribute http://prntscr.com/mxty0j
Don’t use Visual editor if you edit shortcode params, only HTML tab.
Regards
P.S. Could you, provide us access to your account on our site to check the problem with the creation of the new topic because we can’t reproduce the issue from another account?
Regards
Hello,
I continue with the same problem, the static copy copied the link in html and when updating the page it is created automatically this id that takes me to the page in spanish,
please, my client wants to open the store but can not with these errors, I thank you very much for your help,
now I will look at the support login and send it to you as you tell me,
Thank you
a greeting
Hello,
I did not face any problem while creating new topic from your account https://www.8theme.com/topic/links-issue/ So, if you have the new questions submit new topic, please!
Regards
You must be logged in to reply to this topic.Log in/Sign up