Forum Replies Created
-
AuthorPosts
-
July 21, 2022 at 10:18 pm in reply to: Potential compatibility issue with the PayPal for WooCommerce plugin #86031
Hi,
I’ve just replied.
Hi Dhiraj,
Let me try to add it to the plugin. Will get back to you as soon as possible.
Hi Franklin,
Would it be possible to share access to your site, so I could log in and check what’s going on (my email is [email protected])? Please let me know if sharing an account is not an option, and I will continue solving it remotely.
Hi Ash,
Unfortunately, I don’t think our plugin is suitable for that. I think what you need is a “product addons” plugin. I did a quick search, and here is what I’ve found:
- https://woocommerce.com/products/product-add-ons/
- https://wordpress.org/plugins/woo-custom-product-addons/
- https://wordpress.org/plugins/product-input-fields-for-woocommerce/
Hope this helps. Please let me know if you have any questions.
Hi Mike,
You can import EANs with the standard WooCommerce product import tool (in “Products > All Products > Import”). Your CSV file should look similar to this (
1975
,1976
,1977
, and1978
are all variation IDs):ID,EAN 1975,2000000019758 1976,2000000019765 1977,2000000019772 1978,2000000019789
* Although you can name the column differently and then map it manually, I suggest naming it
EAN
so it would be mapped automatically.** When importing, you need to check the “Existing products that match by ID or SKU will be updated” checkbox. And as you can see, you can also use SKU instead of product ID.
Please give it a try and let me know what you think.
Hi Richard,
Sorry for the late reply.
I assume you are referring to our “Print” section, correct? If that’s the case – I would suggest setting the width of the final barcode image with our
img_w
shortcode attribute, and wrapping it in<div>
withstyle
set totext-align:center
. I.e., try setting the “Print > Template” option to something like:<div style="text-align:center">[alg_wc_ean_barcode img_w="200"]</div>
Hope this helps. And please let me know if you have any questions.
Hi Adeel,
Sorry for the late reply.
I’m sorry, but I’m not sure if I got the question correctly, could you please elaborate? Do you mean you want to automatically extract EANs from the existing product descriptions?
As for “… I believe you need the payment first…” – I’m not entirely sure, but it doesn’t look like the Pro plugin version will help with your task.
Hi,
I just did some testing, but I’m not sure if I can reproduce the issue. I’ve enabled “Per product” settings and added a quantity discount for product A and no discount for product B. Then, in the “Info” section, I’ve enabled the “Single product page” option and set the template there to
[alg_wc_product_ppq_table]
. Now product A does have a pricing discount table displayed on its product page, and product B doesn’t have it. So it looks ok here? Or did I misunderstand the question?P.S. If possible, please share access to your site, so I could log in and check what’s going on (my email is [email protected])?
Hi Gerard,
Again sorry for the late reply. That might be a good idea – will try to add it to the plugin. I will get back to you as soon as I can.
Hi,
To output a barcode image, you can do this:
$ean = alg_wc_ean()->core->get_ean( $variation_id ); echo alg_wc_ean()->pro->barcode_generator->get_barcode_img( $ean, array( 'dim' => '2D', 'w' => 2, 'h' => 2 ) );
P.S. I know you said “without using a shortcode”, but just in case – we can achieve the same with:
echo do_shortcode( '[alg_wc_ean_barcode_2d product_id="' . $variation_id . '"]' );
Hope this helps. Please let me know if you have any questions.
Hi Carm,
Unfortunately, currently, we don’t have lifetime licenses for this plugin.
Hi Ger,
Sorry for the late reply. We could easily go two pages back with JS
history.go(-2)
, however, I don’t think I know how to check previous page URL. I believe we can only check current page URL, and depending on that usehistory.go(-1)
vshistory.go(-2)
, but I don’t think that’s what you need?July 1, 2022 at 11:45 pm in reply to: Trigger custom email only on the first order generated from a subscription product #85981Hi,
Happy to help 🙂 Please let me know if you’ll bump into any issues while testing.
June 30, 2022 at 10:12 pm in reply to: Trigger custom email only on the first order generated from a subscription product #85979So I’ve checked, and from my tests, it looks like if you set the custom email’s “Trigger(s)” option to a new order trigger, e.g., “New order (Any status)”, then the email is sent only once, on the initial order. I was testing with the official WooCommerce Subscriptions plugin.
If you are using some other plugin for subscriptions, it may behave differently, and in this case – I’ve just released a new plugin version (v1.5.2), where I’ve added the
alg_wc_custom_emails_is_enabled
filter, so now we can prevent email from being sent with a PHP snippet. For example, we could check if it’s a WooCommerce Subscriptions renewal order with:add_filter( 'alg_wc_custom_emails_is_enabled', function ( $is_enabled, $email, $object_id ) { if ( 'alg_wc_custom' === $email->id && // it's custom email #1 ( $order = wc_get_order( $object_id ) ) && is_a( $order, 'WC_Order' ) && // it's an order ( $subscription_id = get_post_meta( $object_id, '_subscription_renewal', true ) ) // it's a renewal ) { // Do NOT send email return false; } return $is_enabled; }, 10, 3 );
I hope this helps. Please let me know if you have any questions.
June 30, 2022 at 1:16 am in reply to: Trigger custom email only on the first order generated from a subscription product #85978Hi,
Sorry for the late reply. Let me test it and get back to you.
-
AuthorPosts