Forum Replies Created
-
AuthorPosts
-
Hi,
I created a WYSIWYG field just to test it with that plugin and used the following format:
1. Taxonomy Term | is equal to | Product Categories
2. Position (Normal after content)
3. Unchecked everything under Hide on Screen
4. I then found a very small and narrow editing box in the product category backend. There was no place for title so I added some useless content.
5. I then clicked publish
6. Nothing displaying on the product category page.The problem is that the field is there but not showing on category page.
Us the above correct?
Vincent
- This reply was modified 8 years, 1 month ago by Vincent.
Hi Yigit,
Thanks for your reply – so, do I delete the code above and then install that plugin? The code is above is not working anyway and content in the wrong position. Or do ,leave the code above in?
Thanks
VincentHi Ismael,
That had the effect of pulling the content from the top main field, making it bold and putting it flush with the subcategories. There was nowhere to edit it either. See screenshot of what happened: http://imgur.com/a/ybwgB
Thanks
VincentHi Yigit,
Here is the update:
1. Applied your CSS to custom area.
2. Applied the updated php to functions.php and all it did was remove the new category fields again which Ismael’s code above had managed to bring back.
3. The main category page (shop) has an extra field now but not editable and the other subcategory fields are all missing.
4. Basically, everything got lost except for the main shop page that has an uneditable extra field.What is needed?
1. An extra field below the subcategories that is directly below and not justified.
2. The field should have an H2 as the title
3. The field should be able to have content – text that will make it more SEO friendly.
4. It doesn’t matter about the main /shop page the more important ones are all the subcategories.
4. The field should be editable to add that content.BTW: I did come across a paid plugin here: https://codecanyon.net/item/seo-category-and-tag-descriptions-for-woocommerce/13731099 but I don’t know if it will work or not with Enfold and didn’t want to take the risk and its breaks everything. This is why I opted to ask you if there was a solution.
Thank you
VincentHi Yigit,
I added your Point-3 to functions.php and it crashed the entire site (white screen). I undid it via FTP. There is something in there it doesn’t like.
Was Is supposed to replace this code?
/* -------------------------------------------------------------- ## >= Additional Text Field Below Category Overview ----------------------------------------------------------------- */ add_action ('woocommerce_after_shop_loop', 'avia_product_text'); function avia_product_text() { if(is_shop() || is_tax('product_cat')) { echo '<h2 class="product-extra-title">My title here</h2><h3 class="product-extra-desc">More content here</h3>'; } }
Hi Ismael, Yigit,
Thank you for the update. Almost there. This is what has happened:1. It now appears on all categories – good
2. It now appears next to a subcategory rather than below which is not good – see screenshot. http://imgur.com/2XI5yT6
3. There is no place to edit the title or content – it is missing from the edit control panel fields.Request the following:
A. That the second field title and content appear below the category/subcategory contents.
B. that there is a field to edit the contents and add the necessary text.Thank you
VincentHi Yigit,
Thanks for your reply. Unfortunately, this is only displaying on the main shop category page and not the product categories or subcategories which is where I want it. Also, all it did was add a title below the product on the shop[ page and not a text field.Also, it should be H2 not H1.
Can you please assist and tell me how I can get the extra field in the product categories, please? What I would like is the following:
A. H2 title below the products on the product categories only.
B. Below the H2 title there should be an extra field for content.The above would make it very SEO friendly.
Thanks again for your help
Vincent
Hi Yigit,
Thank you for the reply and much appreciated.
I have enclosed a screenshot of where I would like the text box http://imgur.com/a/HyYBZ
Basically, this will allow the product categories to be search engine friendly by adding more relevant text below the product subcategory thumbnails.
The problem Enfold has at the moment is the only place to p[ut the content is above the subcategories. The problem with this is you can only have a little text. Too much and it pushes the content down and looks unattractive.It would be better to have the text in both places above and below – one for the H1 content and one below for the H2 content.
Thanks
VincentCheers Ismael, please consider this resolved.
Thanks
VincentCheers Ismael and appreciate the time you took to help us. – please marked as resolved.
Regards
VinceCheers Ismael, all good
VinceHi Ismael,
I see what you mean. The code .page-thumb {
display: none;
}
was there to prevent featured images showing on posts and pages from the featured image field.I have now added your code to the custom CSS http://mens.boutique/z/fragrance/ which displays the thumbnail. There is a stark difference between:
http://mens.boutique/z/fragrance/
and
http://mens.boutique/z/skincare/scrub/Whereas on some pages it is resizing correctly on other pages it chops off. Is there a specific size for this or is there a error in its resizing? I am using this whole piece here including your code:
/* ------------------------------------------------------------ ## >= Enable Archive Image Shop ----------------------------------------------------------------*/ .tax-product_cat .page-thumb { display: block; } .tax-product_cat .page-thumb { float: left; width: 30%; } .tax-product_cat .term-description { float: left; width: 68%; clear: none; margin-left: 2%; }
Thanks for your help, it looks much better now, I appreciate it.
Vincent
Cheers Ismael, that all looks good now. Thank you for all your help. Please consider this resolved.
Vincent
Hi Ismael,
Thanks for the reply. The H1 titles on the categories are still not displaying. I would like to get this fixed as it’s been going on too long now. I have altered the security settings so you should be able to access the site.Hi Ismael
Please see notes in private area:Thaks Ismael and I appreciate your help :)
See notes in private area
Regards
VincentSorry Yigit, I missed a character, see below:
Okay thanks
Vincent
Hi BAsilis, that did not show the share content
Thanks
VincentHi Ismael,
This looks perfect now. Is it possible to add a line of content above the social share buttons that says:
‘Share this Product’Regards
VincentThanks for your response. It’s not really an optimum solution. Can a page with ALB be made to display the shop category archive?
Thanks
VincentIsmael, the notes are below.
- This reply was modified 8 years, 5 months ago by Vincent.
Hi Ismael,
I hope you don’t mind me asking, but why do you keep insisting that I use the code you supplied, it is already in there and it’s not working. I set the categories to default. For example: http://mens.boutique/z/fragrance/ and then I used this code:
/* ————————————————————
## >= Enable Archive Image Shop
—————————————————————-*/
.tax-product_cat .page-thumb {
float: left;
width: 30%;
}.tax-product_cat .term-description {
float: left;
width: 68%;
clear: none;
margin-left: 2%;
}It still does not work. The image does not pull through.
Thanks
Vincent- This reply was modified 8 years, 5 months ago by Vincent.
HI Andy, details below
Hi Ismael,
Thanks for that, and it looks nice. Can this be modified as the product description bot is now too far away from the content above? (See private area)
Also, can I edit which buttons are shown for example only: Facebook, Pinterest, Twitter, Google+, Email, Instagram?Thanks
VincentHi Ismael,
Actually, I was hoping to have a custom sidebar on an ‘individual‘ product overview page. I already have the sidebar on the left for product overview (category) pages. However, I want to individualise the user experience for each shopping category and have related content for those bars only?See notes in private area:
Thanks
VincentHi Ismael,
It seems to have worked itself out. Also, we are using consistent sizing on category images. The shop ones started working on their own, I’m not sure how it fixed itself, but it looks a lot better now. I have to admit it was causing me a headache trying to figure out why it wouldn’t display/.
Anyway, all solved now, please mark as completed.
Thanks for your helpVincent
Hi Ismael,
I have removed the CSS that altered the colour and completely overhauled the ‘Alternate colour’ area and managed to get that part near enough as possible to what I want. Thanks for your help in nudging me to the right directionCategory titles
I notice that the shop category titles has disappeared, how do I re-enable this? This is strange as they were there. So many problems getting this template to work correctly with its features.What’s left from the demo?
I would like to have the two rows where one row has the title (same as the demo) ‘You may also like…’ The other row is related products. Is this just a design feature in the demo or can it be added and if so, how is it edited, does it work via tags or manual input?Box sizes
There still seems an issue with the box sizes being too large. Does this have something to do with the proportion to the body?Thanks
VincentHi,
I am not going to add that code back to the site as it keeps breaking it and slowing down this project.
All I want is the thumbnail that is added in the category to display on the page. This is not unusual and is normal practice.It works on abundance here: http://www.manscape.co.uk/a/skincare/
This works on the Woo commerce platform in which I provided code above, however, for some reason it breaking Enfold. Is there any other person on this forum from Enfold that knows how to enable this?
Thanks
Vincent
-
AuthorPosts