I wanted to know if anyone knows any option to dynamically hide content, I created a blog for travelers, it was divided into categories (by continent, country and city) and into labels (eat, enjoy, visit, stay, etc) type TripAdvisor. What I want to hide is the title of the label if there are no entries in it, in this image https://imageup.me/p9m it can be seen that the label enjoy has entries, but stay does not. I want to hide that description if there are no posts with those tags and categories assigned.
I tried several plugins and none of them solved it, among them is dynamic visibility, jetengine and PowerPack Pro for Elementor
Related
Is there a way to remove product categories from "All Categories" once they've been added to the menu already? There are 100 categories so far with hundreds more being added and it's hard to spot if another brand or type has been added. If they were removed from "All Categories" on the left I would be able to spot it easier and add it to the right part of the menu.
categories still showing in list after added to menu
I asked the question to chat gpt which provided a couple of solutions that didn't work. The best I managed to do was hide the product categories from the menu itself not from the add to list which was completely useless to me.
Any help would be appreciated.
A few methods that chat gpt offered me but couldn't find a solution using Google.
So I discovered on the single product page, when variable options are selected the prices do not display when selected and likewise the thumbnail images in the gallery. And also, the footer bar is missing on the single product page as well the related products in the same category.
I created attributes for each variable product and setup different prices for the various variations.
I tried switching themes but I still experienced the same effects.
I equally tried deactivating plugins but that didn’t work either.
I double checked to see if I missed something when creating the attributes and variations but all information when correct, so I don’t know.
I am totally stumped in figuring this out and I think I am doing too many extra things in order to fix a simple issue. (I hope)
I am an artist, and I am selling prints and am also offering the original piece for sale on my website. I am trying to figure out how, on the single product page, to add a SEPARATE button that allows the customer to purchase the original piece. I tried adding it as a variable but it is not user friendly and other selections disappear if customers want to go back and select other print options. I do not want the option to purchase the original piece mixed in as a variable. I want it totally separate.
I have created drop down pages for prints and originals on my main site menu but it is messing up when the base ‘shop’ page is clicked because doubles pop up for each product- one is presented as a range in price (the prints) and the other is what the original costs. It is confusing and looks terrible. On top of that, when I try to upload/add new art pieces to either the ‘prints’ or ‘original work’ categories, they don’t show up on either page, they only show up on the ‘base’ shop page.
Is there ANY way to simplify this into removing the ‘prints’ and ‘original works’ subcategories and only have my base ‘shop’ page to display each product, BUT adding a button for the option to ‘purchase original’ along with ‘purchase prints’ on the actual single product page? I have been looking for answers for weeks and haven’t found anything.
Please help!! Thank you so much in advance! I have no clue what I am doing!!!
I have tried adding the 'original' piece into the variations menu and it didn't work correctly. I created subcategories for 'originals' and 'prints' but that is making my base shop page display double products, and when I upload new products and put them in their correct category, they dont go onto those pages, they stay on the base page.
I just want a 'Purchase Original' <---- simple product and a 'Purchase Prints'<----- variable product with size/material options.
My shop page look like this https://ibb.co/bBfEdF
It is showing like this here because some products have long product name & some have short. In the same way some products are having price mentioned and some are without price.
I have tried so many thing but couldn’t figure it out to set it automatically in same pattern, when I am making changes in the CSS files the changes are modifying other pages too, so I need to resolve this by without affecting other pages.
Can I set product names to be displayed always in one single line, weather the name is too short or long.
Either can I fix the box size for each row so that it look like similar for each product along with name.
Its one of Woocommerce flaws. The fast solution is to give the product titles a similar word count
In Magento, how would I be able to treat products in a particular category differently?
Lets say, I have one category "Specials" and I want to have a bit different presentation of its products from the rest of the catalog products.
I initially thought about hooking custom styles up to the category class name that gets attached to BODY element. That, however, does not seem to be fool-proof, since if you directly access those products, they dont always show up as in that category (assuming cookies or sessions have a say in this) and custom styling is ignored.
Also though about assigning custom layout template to that category, but I am using those as layouts and not styles and I dont want to mix up the uses to avoid issues in the future.
Anyone had this concern before? Thanks for the help!
You have 2 code oriented solutions :
If the notion of "category" is the fact that you're accessing a product through a category (on your product page, the breadcrumb display the category), you'll be able to cehck (somewhere in your catalog/product/view.phtml) the Mage::registry('current_category') which contains your current_category and compare it with your "particular category" (which could be stored as a configration variable)
Otherwise, if you want your style applied even when you're not accessing your product via the category navigation, you'll have to manually check your product categories ($product->getCategoryIds()) and compare it with your "particular category" (which could be stored as a configration variable)
ps: keep in mind that a product can be assigned to multiple categories
Hops this helps you
If you have particular category like special so Create new theme for Only Special category and assign that theme to special category from backend, you can easily assign different theme to different category from category management page in admin.
Or you can aslo assign different theme to products also from manage products page.