General tab in admin
-
Hi there… I’ve been testing and pretty impressed with this plugin however… I’ve found that there appears to be a slight conflict with a “non-standard” (in my case, it’s a “paywall”) product type ie. when plugin is activated and editing a non-standard product from the Admin dashboard, there are no fields shown under the “General” tab.
With a bit of digging, this seems to be being caused by the function woosb_active_settings in the file assets/js/backend.js which doesn’t seem to allow for product types other than the standard Woocommerce product types (eg. single, variable etc.)
I’ve temporarily fixed this by adding the following lines of code to the above mentioned file but obviously editing the source code isn’t ideal and just wondering whether you might consider amending your code in a future release in order to allow for such eventualities?
My code addition:
` if ($(‘#product-type’).val() == ‘paywall’) {
$(‘.general_tab’).show();
}`Or failing that… perhaps there is some other solution I’ve missed?
With many thanks in advance for your consideration.
- The topic ‘General tab in admin’ is closed to new replies.