Tagged: gallery, masonry, products, random, variable products, woocommerce
-
AuthorPosts
-
June 20, 2017 at 12:31 am #810052
First, I know how to make the Masonry Gallery show up randomly, but is there a way to do so selectively? Like by adding using a specific ID or class to do so? I have instances where I want them to show up randomly, but there are some places where I prefer the specific order I put them in. Ideas?
Second… How much control do we have over the layout of variable products with WooCommerce? I hate that it is all just put into a table with the labels on the side. Not so much on a desktop, but it looks terrible on mobile, especially if you have variables that are more than one word. They end up centered and stacked. I personally have been avoiding using variable products where I can and just use Product Add-ons because I prefer the way those are laid out. Label as a heading on top, a description below, then whatever kind of input you have below. Just looks better across the board. I’m sure I can just copy the template file and rearrange things in the table better, but I would have to keep it updated to mesh with any core updates to WooCommerce. Another benefit to the use of product addons has been the optional description per input group. You don’t get that with variable products.
- This topic was modified 7 years, 5 months ago by Kahil. Reason: made the title descriptive of content
June 20, 2017 at 4:54 pm #810486Hey Kahil,
Anything is possible, it’s just how well can you code? These kind of modifications are out of the scope of our support. You could hire a freelancer to do those for you.
Best regards,
VictoriaJune 21, 2017 at 1:01 am #810678Well first, the code to make the masonry gallery random came from you guys in several posts made by mods years ago It still works well. So it isn’t really out the scope to see if someone has already made a mod. Especially when you guys have already done this in the past, but apparently haven’t updated the code to mesh with current theme code. If this code still worked, then it would solve the problem. Instead, we are left with the all or nothing code that makes all masonry galleries random without any control over it. http://kriesi.at/documentation/enfold/how-to-add-an-orderorderby-option-to-the-blogpost-sliderportfoliomasonry-grid-element/
Same goes for the layout of variable products in YOUR theme. The theme is plugged as supporting WooCommerce core features, which includes variable products. All I was asking is if someone has already made such or similar mods and what kind of control do we have over it in YOUR theme. Telling customers, who have already paid a premium (often more than once) for a product that we can either mod your mod ourselves, or we can pay you to do it….that doesn’t help.
- This reply was modified 7 years, 5 months ago by Kahil.
June 22, 2017 at 10:27 pm #811848FYI, the mod for the cart was simple to do on my own. Just had to edit the variations template for woocommerce so that the label and input items were in their own rows. What I was hoping for was more of an update-proof mod via Enfold templates.
As for the mod for masonry galleries… The code from the developer’s site still doesn’t work. Likely because Enfold has changed so much since then. Since that mod code, which honestly should be baked in, is still live on the site and no longer works, it isn’t unreasonable for paying customers to expect that the developers support it.
June 25, 2017 at 2:23 pm #812678Hi Kahil,
It was not clear to me from you original post what kind of changes to product variations you wanted to make especially after the first request which requires some custom code. Probably the variations part could have been even adjusted via css, but I have not seen your page, so I cannot say that for sure.
The order by code would give you just ascending or descending order, not the selective on. Database queries do not care for css classes or id, so that would not work. In order to make the selective queries possible, you need an interface to specify parameters, or hardcode them in functions.php. This is a separate feature we’re talking about, so yes, this is out of the scope of our support. We support WooCommerce variations in a way that they work and have a template within our theme, anything else you’re free to build as per whatever specifications you like.
Anyway, glad you got one of the issues figured out, you learned, you grew, great job! :)
Best regards,
VictoriaJune 25, 2017 at 6:15 pm #812766Well… That was condescending.
I can’t see how I couldn’t have been more clear in my description.
Ughhh… The order by code isn’t just ascending or descending. In there it applies to random, as per the code your team already supplied. Furthermore, that code on the link doesn’t even work!
June 25, 2017 at 7:49 pm #812787Hi Kahil,
Random – is the worst database query you can have, it’s very slow. Especially, if you have a lot of items to choose from. What you can do, is put the items you want to show in a separate category and show that category. If it’s a one time deal and you don’t have like a 100 websites where you need this functionality.
Best regards,
VictoriaJune 25, 2017 at 8:01 pm #812793Ughhh… It’s like you’re ignoring the fact that I am referring to the very code YOUR team has provided! As I have stated more than once, this has nothing to do with 100 websites where this is needed. This is about easily applying the code your team has supplied selectively rather than all or nothing. The code to display masonry gallery items randomly as supplied by your team applies to all masonry galleries on a site. The code to have a drop-down in the admin view for masonry galleries (and others) that has its own page on this site no longer works. If that code worked still, then there would be no need for a support request here! I would have simply applied both sets of code that YOUR team has supplied us and made it work.
Please, try being professional rather than talking down to people. It’s called customer support. If the code you’re supplying is “the worst”, then don’t post it. If you give a specific block of code its own page, then ensure it is updated. In either case it is code supplied by this dev team and is very much within the scope of support. If you can’t stand by your own code, then why bother?
June 27, 2017 at 10:19 pm #813610Hi,
Please provide your web site URL, lets see if everything is runing properly on your web site.
We appreciate your patience.Best regards,
Basilis -
AuthorPosts
- You must be logged in to reply to this topic.