99w
Forum Replies Created
-
Forum: Plugins
In reply to: [Memory Meter] Where can I find all logs generateI’ll go ahead and mark this as resolved. If you have any further questions feel free to open another thread.
Forum: Plugins
In reply to: [Product Attributes Shortcode] One attributeHi,
We haven’t heard back from you for a while in regards to this ticket so we are going to go ahead and mark it resolved.
If you need any further assistance please create a new ticket.
Thank you,
Forum: Plugins
In reply to: [Product Attributes Shortcode] One attributeThis extension is intended to be used where you want to display all terms from a product attribute, e.g. to display a list of all brands in the footer of your website. It is not intended to be used to display a list of terms associated with a specific product.
Hence why if you include a shortcode that targets the color attribute, it displays a list of all the colors, regardless of it is included on the product page.
It isn’t a product specific list, that functionality is actually already included in core WooCommerce, you can see this gets output via the additional information tab on the product page, it looks like your theme, for some reason, doesn’t output the usual description, additional information, etc tabs – you may want to look into why that is, or use the code from the Storefront theme that is doing that to achieve it in your theme.
Forum: Plugins
In reply to: [Memory Meter] Where can I find all logs generateHi,
All the logs are displayed on the memory meter dashboard, there is an overall logs limit, which covers both the latest logs and flagged logs, by default this keeps 20 latest and flagged logs.
If you want to log more you can change the default of 20 using the
wpmm_memory_meter_logs_max
filter hook, like so:function memory_meter_logs_max() {
return 50;
}
add_filter( 'wpmm_memory_meter_logs_max', 'memory_meter_logs_max' );You may also wish to change your flagged logs thresholds to ensure any logs you deem over a certain limit are kept in the log for further investigation by using the following filter hooks:
wpmm_memory_meter_memory_usage_percentage_bad
(defaults to 90)wpmm_memory_meter_memory_usage_percentage_warning
(defaults to 75)
Details on these and all the other filter hooks available can be found in the configuration tab in the memory meter dashboard.
Thank you,
Hi @sahalshazz,
Glad to hear these custom CSS tweaks made this extension more usable for your store.
If you get time, please consider leaving a quick review here, and/or buying us a coffee.
Thank you,
Hi @sahalshazz,
That is because in the mobile menu there is additional wrapping div (wd-mob-nav-html-block) and specific rules have been written relating to that menu making it display that way.
You can override those rules by using something like the below:
.wd-mob-nav-html-block .wcpas-product-attributes .wcpas-product-attribute::after {
vertical-align: middle !important;
}
.wd-mob-nav-html-block .wcpas-product-attributes .wcpas-product-attribute a {
display: inline-block !important;
}Try the above and let us know.
Thank you,
Yes, each product attribute has a unique ID you can target to add additional content after, e.g.
#wcpas-product-attribute-pa_samsung-samsung-z-fold-5::after {
background-color: #ff0000;
color: #ffffff;
content: "NEW";
display: inline-block;
font-size: 11px;
font-weight: 700;
margin-left: 10px;
padding: 2px 5px;
vertical-align: top;
}Okay, so you could use some custom CSS like this:
.wcpas-product-attributes {
display: flex;
flex-wrap: wrap;
}
.wcpas-product-attributes li {
width: 25%;
}This will put them in columns, with each column being 25% width.
You’d most likely want to add some additional responsive CSS to make them 50% or 100% width at certain breakpoints for tablet/mobile.
You can see what it looks like in this fiddle.
Hi,
Potentially yes, it would just need some custom CSS to put them into columns.
If you can share the URL to the page which outputs the shortcode, we can provide some code example to help you.
Thank you,
Hi,
We haven’t heard back from you in a while, so we’ll mark this topic as resolved. If you need any further assistance in future please create a new topic.
Thank you,
Hi,
Can you send a screenshot/link to the current output you are seeing, and we can let you know potential options for this?
Thank you,
Thank you, just to add we are still receiving requests related to this issue, we’ll recommend the workaround, however it would be a better solution if that other option was the default, or a fix was released for it.
Forum: Plugins
In reply to: [Product Attributes Shortcode] Can you split the listHi, We haven’t heard back from you in a while, so we’ll mark this topic as resolved. If you need any further assistance in future please create a new topic. Thank you,
Forum: Plugins
In reply to: [Product Attributes Shortcode] Can you split the listHi,
v2.0.0 is now available, if you update to it, you can then update your shortcode to include the
categorize="first_character"
option like this:[wcpas_product_attributes attribute="your-attribute-name-here" categorize="first_character"]
For example, if using the code above with a brand attribute, the output will be this:
The categories, A, C, etc have markup wrapped around them with CSS classes/ids so you can target them and style up the list as needed.
Let us know how you get on with this.
Thank you,
- This reply was modified 8 months ago by 99w.
Forum: Plugins
In reply to: [Product Attributes Shortcode] Can you split the listYes, this is do-able but requires quite a significant refactor of the code, and would require the use of a new shortcode attribute to be passed.
We’re working on this now and it will be released in v2.0.0, we are hoping to have that released in the next 24 hours, so keep an eye out for the update notification in your dashboard, and once updated refer to this page: https://www.ads-software.com/plugins/wcpas-product-attributes-shortcode/ for the updated info on the shortcode attribute to use to achieve this.
Note that this will do the output, however you may wish to use custom CSS to style it up nicely.
Once you’ve updated, and using the new feature, let us know here.