stan255
Forum Replies Created
-
Fixed.
Issue with enqueue Chart.js script.Forum: Plugins
In reply to: [Contact Form 7] Confirmation email to userFound the solution. Use mail (2). Docs: https://contactform7.com/faq/can-i-implement-autoresponder/
I got it.
I used
.item-name {font-weight: 600;}
Thanks for your help.
- This reply was modified 5 years, 4 months ago by stan255.
Thank you! That worked.
Thanks! It worked well.
How about bolding the product name? Screenshot: https://prnt.sc/ojncn8
I tried
td.product {font-weight: bold}
But it bolded the meta too.
Hi,
Value of the cart separated by products. Item price * Qty. Right now, I’m getting $0 until someone places an order then it updates the data under Product Performance.
Stan
Thanks for that, Ben.
Another thing, the product attributes are going to another line which isn’t like what is shown in the email preview.
Screenshot: https://imgur.com/a/WxzoCh2
I also tried to change the font size to 14px with this code
#body_content_inner .td {font-size: 14px !important;}However, it still stays the same.
P.S: I’m using Storefront theme.
- This reply was modified 5 years, 4 months ago by stan255.
Thanks for the reply, Fernando.
I have looked at a few min/max plugins including the one you linked to but the UX isn’t exactly what we are looking for.
The reason is because the user has to click on the add to cart before he/she finds out about the min/max quantity.
Currently, we are using the Storefront theme and the add to cart button is disabled unless all the attributes are selected which is fantastic. If not, they can’t add to cart.
Imagine from the users’ point of view, they selected all the product options and the add to cart button goes from disable to enabled and they can now add to cart.
They click add to cart and if their quantity doesn’t meet the requirements, it shows them the error message.
The mindset of the user goes from:
“Ok, I need to select all the options to add to cart.” to
“Yes, I can add to cart now because the button is enabled.” to
“What the… I didn’t know there was a min/max quantity”.It is a small thing but I believe it makes a big difference from a UX perspective considering how small this is.
Forum: Fixing WordPress
In reply to: Show text based on quantity selected in Woocommerce@webmasterhouston Yes, I used the short description to communicate the lead time upfront.
The ideal solution for us is to input a quantity range and associate a lead time to that.
For example,
Qty
1 to 5 = 2 days lead time
6 to 10 = 5 days lead time
11 to 20 = 10 days lead time
21 to 100 = 14 days lead timeIf the user orders multiple products, we would take the product with the highest lead time.
Product 1 requires 5 days.
Product 2 requires 2 days.We would show a 5 days lead time. This is to set the expectation of the worst case scenario.
I still haven’t found a solution though. I might need to get this custom built.
That’s a good link! I gave it a shot but I can’t get it to work with attributes with text only.
It works with attributes with numbers but not with text. For some odd reason.
add_filter('woocommerce_variation_is_purchasable', 'conditional_variation_is_purchasable', 20, 2);function conditional_variation_is_purchasable($purchasable, $product) {
$taxonomy = 'pa_height';
$term_name = '4.1m';$found = false;
foreach($product->get_variation_attributes() as $variation_attribute => $term_slug) {
$attribute_taxonomy = str_replace('attribute_', '', $variation_attribute); // The taxonomy
$term = get_term_by('slug', $term_slug, $taxonomy);
if($attribute_taxonomy == $taxonomy && $term->name == $term_name) {
$found = true;
break;
}
}if($found)
$purchasable = false;return $purchasable;
}
Forum: Plugins
In reply to: [Min and Max Quantity for WooCommerce] Add in URL after adding pluginAfter I installed your plugin, that ID appears (v=6cc98ba2045f).
Does your plugin add an ID like this (v=6cc98ba2045f) in the URL?
@seank123 Thanks for the reply. That won’t work for us because we are using a Swatch plugin which cancels out the option if there is no stock.
Forum: Fixing WordPress
In reply to: Show text based on quantity selected in Woocommerce@webmasterhouston That’s a unique way of doing it however those manufacturing times are based on the quantity selected.
UPDATE: I tried it and it doesn’t look too bad! Screenshot – https://prnt.sc/nu92pr
- This reply was modified 5 years, 6 months ago by stan255.
Forum: Fixing WordPress
In reply to: Show text based on quantity selected in WoocommerceHow about hooking into the quantity fields and update actions? Where can I learn that?
Forum: Fixing WordPress
In reply to: Show text based on quantity selected in WoocommerceHi @catacaustic thanks for the help.
Where would you start learning on doing Woocommerce customizations like this?
This is my quantity HTML
<div class="quantity"> <label class="screen-reader-text" for="quantity_5cecb413c9597">Quantity</label> <input type="number" id="quantity_5cecb413c9597" class="input-text qty text" step="1" min="1" max="" name="quantity" value="1" title="Qty" size="4" inputmode="numeric"> </div>