lockoloop
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Making search work with custom archive productOk, I’ll repost there.
Forum: Developing with WordPress
In reply to: wp_is_mobile not working properly?Sorry for the late reply, yeah apparently it resolved by itself, maybe I mixed up so files on my side.
I do rely as much as I can on CSS but in that case, I really needed specific sidebars for the mobile version, so unless I put some “display:none” on anything only supposed to appear on desktop, it wouldn’t have solved the trick.Hey, I’m an idiot, I was uploading my file in my live website and not the website I was testing on :V
Apparently, adding these (actually, only one of them was necessary) to the products_args array solved the problem:‘columns’ => ’10’,
‘rows’ => ’10’,I’ll leave it here if someone has a similar issue.
One question though: what php line should I add if I want the products to show in alphabetical order? “orderby title” seems to work but it’s inverted (Z to A instead of A to Z)
No, this is a theme I made (derived from Simple Skeleton), I just tried with Storefront and the problem is the same (I had already tried with Astra before).
Forum: Plugins
In reply to: [WooCommerce] Woocommerce: Custom display of product variationsThanks for the reply,
This was just a thing I coded on my side before I started working on Woo, it’s purely CSS and non-functional, so nothing to do with a theme, sadly! ??But I’d really like to know if it’s possible to add lines to a product card with variation info; not swatches, not a dropdown, but just:
– the value of the attribute (here 330g)
– the price attached to the variation with this attribute
– and a dynamic quantity button OR an add to cartI feel there’s not a lot that has been done for variable products in terms of plugins – except for have them behave like non-variations ??
I’ve tried out Elementor quite extensively, but it didn’t look like I could heavily customize the products card, especially in this case where I want to add some info. Or is there any way to replace a product card with a template page somehow?