bassbossbass
Forum Replies Created
-
Hi Andy,
Yes, i figured out the icon hiding. I’m also trying to hide just the text while it’s still active on other pages (with the icon showing still). For some pages i just want the icon, for some pages i just want the text. For some pages i may want both displayed, on a per page basis.
Is there a selector to hide the text that doesn’t also hide the whole cart button?
Thanks,
GlenAndy,
Like stated, i’m interested in hiding and showing the options on a per page basis. Apparently, since your plugin adds the cart icon, it can also be removed via CSS using a page or post ID tag and the selector for the cart icon. However i don’t see a selector for the text that doesn’t also remove the entire cart button using the “display: none;” option.
I’m looking to be able to chow or hide either element (text or icon) per page (not product, as some products show up on multiple pages). If you are aware of a selector i’m not able to find, i’d appreciate it, otherwise i’ll be trying to find another solution.
Thanks,
Glen Allan
IS Coordinator
BASSBOSSAndy,
It looks like the cart icon can be shown or removed with CSS, but the text cannot without the whole button also disappearing using the “display: none;” operator. There are a ton of selectors involved, so i’m going to see if any of them only deal with the text and leave everything else. If you happen to know what the specific selector would be that could do this it would pretty much solve the problem and i can add CSS to control the display on the pages i want and don’t.
If i find it i’ll post here so others can refer to it. Otherwise i’ll await your response.
Thanks,
Glen Allan
IS Coordinator
BASSBOSSOh, maybe i can use CSS. I think i was using a different program to find the selector. I’ll test and let you know.
Andy,
No, the loop archive pulls the single add to cart info from each page for it’s display. In a sense it hijacks the WooCommerce cart and allows display in many ways all over the site, even on non product pages and posts. Since your mods to the Woo engine are at the most basic level i’d guess it can’t be both things at the same time (which i get).
I was hoping it would just be an issue of the icon maybe having a different CSS identifier which would allow the hide function to style it either way on a per page basis, but i get if it can’t due to being part of the same item.
I think i’ll need to find a solution that creates the same call to add the product to the cart but with a trigger i can fully customize. I’ll check the WooCommerce docs and see what the other options are.
Thanks for answering!
Glen Allan
IS Coordinator
BASSBOSSHi Andy,
Hmm… That’s close. However the way the site is set up would make that odd. We use a loop archive plugin that pulls product info and displays it on a page where i want all of the products to have the same normal cart with text and no button, whereas i have individual products in a different format where i don’t want the text and do want the icon. So in this way the same product would show it different ways on multiple pages.
Ideally it would be like using a CSS page-id kind of deal where the change in display is on a page basis, not the product everywhere. Can a similar thing be done by using a page id?
Let me know,
Glen Allan
IS Coordinator
BASSBOSSForum: Plugins
In reply to: [GDPR Data Request Form] Admin EmailHi Jb,
Thanks for the answer. I was definitely not talking about trying to manage core functions, but add an extra email option for whoever will be assigned the job of handling the data processing requests.
I know all the GDPR plugins are very new, so i don’t expect anything but the essentials at this point. I’m just hoping to see some stuff added as things progress. Would be cool to be an a list if you do end up adding the features.
Thanks,
Glen Allan
IS Coordinator
BASSBOSS