Narek Zakarian
b3b44cad12
Fix: Prevent subscription price override for non-subscription products
...
Ensure `.trigger('change')` on `.wc_input_subscription_price` is only called
when the selected product type is 'subscription' or 'variable-subscription'.
Prevents issue where non-subscription products have their regular price cleared,
which was likely triggered indirectly by the Square plugin.
2025-07-10 17:49:25 +04:00
Daniel Dudzic
dc026bba93
🐛 Fix the linkBtn is null error and move the strings to the server side
2025-04-04 13:55:34 +02:00
Daniel Dudzic
a0a7d042b4
Fix first batch of typos
2025-03-24 14:09:19 +01:00
Daniel Hüsken
bbc0b61553
JavaScript improvement so that it works also for new products
2025-02-11 09:56:43 +01:00
Daniel Hüsken
6ca7d2d48c
fix zero price detection
2025-01-06 12:02:11 +01:00
Daniel Hüsken
031b50264c
Validate subscription price in PayPal Subscriptions logic. Check Interval on page load
2025-01-06 11:44:27 +01:00
Daniel Hüsken
a431b52094
Improved working on new post
2024-12-20 11:37:29 +01:00
Daniel Hüsken
af08ad5fce
Fix js problem
2024-12-20 10:06:34 +01:00
Daniel Hüsken
0131911f11
moved js logic to function
2024-12-18 08:44:46 +01:00
Daniel Hüsken
39f88b7346
Changed and improved logic. Checkbox will be grayed out when period interval is not allowed.
2024-12-17 16:05:36 +01:00
Daniel Hüsken
0f1750617f
add js to not allow selecting not allowed period intervals
2024-12-16 13:09:45 +01:00
Emili Castells Guasch
11105d913b
Run eslint autofix
2024-07-12 12:58:34 +02:00
George Burduli
9db695af75
Disable 'Sold Individually' checkbox
2024-05-28 16:49:41 +04:00
Emili Castells Guasch
94674adc25
Move PayPal subscriptions api logic to its own module
2023-10-18 17:03:15 +02:00