Forum Replies Created

Viewing 15 replies - 271 through 285 (of 375 total)
  • Thread Starter wordmax

    (@wordmax)

    Yes we have the enable stock control feature. This is fine for admin to see quantity remaining in the WP admin back end for Stripe Payment products, but what we want to do is show the product quantity remaining to the front-end user in the product description, etc.

    Is there a way to do this with shortcode? Or maybe you can make this an option in the Stripe Payment settings option: (Display quantity remaining? Yes/No)

    Please advise, thanks.

    Thread Starter wordmax

    (@wordmax)

    Also, forgot to mention, I only get the leave page changes may not be save error for Stripe Product edit-product pages. I don’t see these error popups when editing/saving/leaving normal WP posts or pages.

    Thanks

    Thread Starter wordmax

    (@wordmax)

    This started happening after the most recent update of theme & plugins. Here’s a list of the plugins being used. The product does get updated on front-end after using “update” button with changes. Just can’t leave the product edit page without getting the browser popup warning about leaving the page…

    Theme: Ocean WP
    Plugins:
    – Ad Inserter (no extra javascript code is being inserted)
    – Akismet Anti-Spam
    – Contact Form 7
    – Duplicator (deactivated)
    – Ocean Extra (deactivated)
    – Really Simple SSL
    – Stripe Payments
    – UpdraftPlus Backup/Restore
    – WP Fastest Cache (deactivated)
    – Yoast Duplicate Post
    – Yoast SEO

    Here’s what’s showing in the Chrome console (hope this helps):

    jquery-migrate.min.js?ver=3.3.2:2 JQMIGRATE: Migrate is installed, version 3.3.2
    post-edit-1562.js:1 [Violation] 'DOMContentLoaded' handler took 1209ms
    [Violation] Forced reflow while executing JavaScript took 105ms
    jquery.min.js?ver=3.5.1:2 [Violation] 'setTimeout' handler took 59ms
    [Violation] Forced reflow while executing JavaScript took 42ms
    jquery.min.js?ver=3.5.1:2 [Violation] 'setTimeout' handler took 61ms
    edit-product.js?ver=2.0.42:150 one_time
    [Violation] Added non-passive event listener to a scroll-blocking <some> event. Consider marking event handler as 'passive' to make the page more responsive. See <URL>
    [Violation] Added non-passive event listener to a scroll-blocking <some> event. Consider marking event handler as 'passive' to make the page more responsive. See <URL>
    [Violation] Added non-passive event listener to a scroll-blocking <some> event. Consider marking event handler as 'passive' to make the page more responsive. See <URL>
    [Violation] Added non-passive event listener to a scroll-blocking <some> event. Consider marking event handler as 'passive' to make the page more responsive. See <URL>
    [Violation] Added non-passive event listener to a scroll-blocking <some> event. Consider marking event handler as 'passive' to make the page more responsive. See <URL>
    [Violation] Added non-passive event listener to a scroll-blocking <some> event. Consider marking event handler as 'passive' to make the page more responsive. See <URL>
    tinymce.min.js?ver=49110-20201110:2 [Violation] Avoid using document.write(). https://developers.google.com/web/updates/2016/08/removing-document-write
    bw @ tinymce.min.js?ver=49110-20201110:2
    ww @ tinymce.min.js?ver=49110-20201110:2
    Aw @ tinymce.min.js?ver=49110-20201110:2
    (anonymous) @ tinymce.min.js?ver=49110-20201110:2
    (anonymous) @ tinymce.min.js?ver=49110-20201110:2
    jt @ tinymce.min.js?ver=49110-20201110:2
    u @ tinymce.min.js?ver=49110-20201110:2
    n @ tinymce.min.js?ver=49110-20201110:2
    l.<computed>.l.<computed>.l.<computed>.o.onload @ tinymce.min.js?ver=49110-20201110:2
    tinymce.min.js?ver=49110-20201110:2 [Violation] 'load' handler took 245ms
    lodash.min.js?ver=4.17.19:87 [Violation] 'setTimeout' handler took 122ms
    [Violation] Forced reflow while executing JavaScript took 43ms
    Thread Starter wordmax

    (@wordmax)

    I’m not using any cache plugin. Running latest versions of WordPress with all updated Ocean WP theme and a handful of small plugins. Have tried with Chrome & Firefox, cleared browser cache, still experiencing the error when trying to exit Stripe payments product editor/page after hitting update and trying to close it.

    Thread Starter wordmax

    (@wordmax)

    Was able to over-ride the CSS so that it works on front end by using !important value in the css lines:

    .asp_product_name {
        float: none !important;
        font-size: 24px !important;
        font-weight: bold;
        line-height: 28px !important;
    }
    Thread Starter wordmax

    (@wordmax)

    Aha, that worked. customizer > blog > single post > max width setting. I wonder why it only affects certain elements? For example the paragraph tags don’t seem affected and default to 100% width.

    Thanks for your help!

    • This reply was modified 5 years, 6 months ago by wordmax.
    Thread Starter wordmax

    (@wordmax)

    No, the homepage has not been excluded.

    Thread Starter wordmax

    (@wordmax)

    Thank you my friend. That worked perfectly. I appreciate you taking the time to help out. I will probably buy premium/add-on feature in the future so I can add some more custom fields to the form.

    Thread Starter wordmax

    (@wordmax)

    Hi. Thanks for your reply and help. We added css in the custom css (customizer) but it does not have any affect and won’t over-ride the theme. In the customzier when adding the CSS it actually does make a difference to the button appearance, but it does not change the button appearance on the front-end after ‘publishing’ the changes after custom CSS is added.

    Example CSS:

    button[type="submit"] {
    	padding:8px 15px;
    }

    Any ideas how to make it work? Maybe this is an issue for OceanWP devs to address?

    Thanks

    Thread Starter wordmax

    (@wordmax)

    Seems like button CSS design ability is pretty basic simple need for admins, should probably be included in the settings. Not an add-on feature.

    Thread Starter wordmax

    (@wordmax)

    And CSS for button padding-bottom has no effect.
    .asp_product_buy_btn span

    I had similar issue wanting to change a few phrases. The best way I found was to use a good text editor like Notepad++ (free/opensource). Download the plugin to your computer. Extract it from the .zip format. Then use Notepad++ to > search > find in files > select the folder “stripe-payments” and enter “Product Name” then > find in files. Notepad++ will give you a list of results for all of the files that contain that term. With a little experimentation you should be able to figure out how to make the change. But, next time the plugin gets updated on WP admin it will probably overwrite any changes (not sure) so you may have to edit the file again.

    Thread Starter wordmax

    (@wordmax)

    I used Notepad++ text editor to search files for “View Item”. I see there are multiple .mo and .po files plus a template.php file. I changed the text “View Item” in the template.php file on line 20 to “Register Here” and that worked for me. Although a temporary solution, because I assume the file will be overwritten the next time I update the plugin to a newer version.

    stripe-payments\public\views\all-products\default\template.php
    Line 20: $strViewItem = __( "View Item", 'stripe-payments' );

    • This reply was modified 5 years, 6 months ago by wordmax.

    I would be interested to know as well. A language/phrases settings over-ride option for wp-admin would be pretty nice to have.

    Thread Starter wordmax

    (@wordmax)

    Hi,

    I tried it with different themes an all other plugins disabled. The issue still occurs. This only happens when using the quick edit (wp admin) to update the product status (published, draft, etc) or changing the product title/slug or any other setting change available in the “quick edit” options. When any changes are made vie “quick edit” for a product it causes all settings for the product to be deleted (quanity, price, thumbnail, etc) the only thing that remains is the description that was entered for the product in the description area.

    If the product is opened in the full page edit mode then any changes made are saved as expected wit no problem.

    You should be able to test this out/duplicate the issue fairly easily.

    Thanks

Viewing 15 replies - 271 through 285 (of 375 total)