Forum Replies Created

Viewing 15 replies - 1 through 15 (of 17 total)
  • Thread Starter KyleStilkey

    (@kylestilkey)

    I forgot to add the image, but this is where I am talking about that I used to have it and it’s worked fine this entire time.

    View post on imgur.com

    Thread Starter KyleStilkey

    (@kylestilkey)

    I see under woocommerce Enable AJAX add to cart buttons on archives was on, I disabled this and now the cart isn’t double adding anymore. I didn’t see any option to disable it with the Theme and I’m guessing it is doing it by default.

    Thread Starter KyleStilkey

    (@kylestilkey)

    I fixed it myself, I wanted to point out I had a feeling it was a connection issue and I found a old post from here.

    https://ww.wp.xz.cn/support/topic/disconnect-wordpress-com-account-reset-woopayments/#post-18069389

    Going to /wp-admin/admin.php?page=connection-test-admin-page on my website, I could see that my USER ID: was blank but I had a SITE ID: number. When I did a Test Authenticated Request, I got back a 401 token authentication error. When I went back and hit Reconnect to WordPress.com, everything lit back up and started working. I knew there was a communication error and just needed to reauth but I had no idea this page existed. Maybe as a suggestion, this should be added in support FAQ or even the plugin to be able to reauthorize your connection when there is no USER ID or SITE ID as this would have resolved my issues hours ago.

    Not super mad or anything, I knew being I was seeing 401 errors on some pages it had to be a auth issue somewhere and I’m glad I just figured it out.

    I was also working with the support team at Woo (not really sure if there was much of a difference) but I wanted to at least post my findings here for others that might run into this and to let you know I did resolve this instead of just leaving this dead and hanging.

    Thread Starter KyleStilkey

    (@kylestilkey)

    Yes I reinstalled WordPress on a new server drive (that I run) the environment and everything is the exact same I just transferred over my old site over to a new install drive to speed things up. I’m wondering if something has just been misconfigured as everything has been working fine for the past 2 years this way.

    I backed up all data and databases, did a full reinstall of WordPress and recovered all the data/database info that way I could start off clean as possible without trying to do any sort of weird splicing, so it should be a one for one “clone” but I am guessing something has tripped up.

    • This reply was modified 6 months, 2 weeks ago by KyleStilkey.
    • This reply was modified 6 months, 2 weeks ago by KyleStilkey.
    Thread Starter KyleStilkey

    (@kylestilkey)

    Hey it’s no problem at all, I’m glad to see it’s going to be fixed, but also pointed me to see I wasn’t on HPOS too which honestly I should be. I’ve reached out to MultiPOS but we will see. Thanks again for taking to time to fix this.

    Thread Starter KyleStilkey

    (@kylestilkey)

    That was it, I found the issue of this mystery. So it looks like Goods and Services does not work with WordPress posts storage (legacy) but will work under High-performance order storage (recommended). The reason I didn’t know there was a difference was due to one plugin I use, the MultiPOS doesn’t support the High Performance Order Storage and forces legacy on even if disabled, I didn’t know this and had to sync over everything to the new High Performance mode and once I did so, resyncing the order and updating it now keeps the Goods of Cost.

    I have tested syncing over to High Performance with Multi POS off, GOS saves on the order and stays. Tried the compatibility mode and turning on Multi POS, GOS fails to save in the final total. I disabled Multi POS but left legacy on and testing high with compatibility, both failed to keep the GOS cost in the final total. Turning back on High Performance mode, GOS came back and stayed with the final total.

    I am wondering if this is a bug or something that can be fixed on WooCommerce’s end. I didn’t see any sort of post_meta being created for the order for a _cogs_total_value or something along the lines of that and I am wonder that since there is nothing being created that there is no data to read which then defaults to just 0.00.

    Anyways I at least figured that end out, now it’s to wait back to hear from you if this can be fixed with WooCommerce, but I will also reach out to Multi POS and see if they can make the system compatible with the newer High Performance.

    My last question for this to, does this not get shown in the analytics data as it shows still as a full revenue and doesn’t change the net sale at all. Say I sold something for $500, cost me $100. Should show a Net Sale of $400, but it shows as a full $500 made in profit. Is that how the built in one is supposed to work?

    Thread Starter KyleStilkey

    (@kylestilkey)

    Did a bit more digging, I see it is creating it as _cogs_total_value. I can see it controls the product, both are working. I will say I notice one thing between both of my sites.

    When I am editing the site an order I am having issues with I notice the URL says this.
    wp-admin/post.php?post=5508&action=edit

    Now on the site it’s working
    wp-admin/admin.php?page=wc-orders&action=edit&id=164

    I am wonder if this is causing the issue? One is going through post.php where the working site is going through admin.php and an action. I mean the site I am working with that has issues is about 4 years old and could be editing the data/table differently?

    That’s what I have noticed.

    Thread Starter KyleStilkey

    (@kylestilkey)

    I swapped themes and it still does it, even with just WooCommerce off.

    I looked into the wp_postmeta table and I have no entries for a _wc_cog_order_total_cost or any sort of total cost on either site.

    Thread Starter KyleStilkey

    (@kylestilkey)

    I’ve done all that so far, but not tested changing the theme, but it’s the same between the two sites. I’ll do a test and see if maybe some reason the themes busted or causing some issues and will update my findings.

    Enabling Debug these are the errors I get.

    Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the ddwc-multipos domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /srv/www/wordpress/wp-includes/functions.php on line 6121

    Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the woocommerce-jetpack domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /srv/www/wordpress/wp-includes/functions.php on line 6121

    Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the woocommerce domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /srv/www/wordpress/wp-includes/functions.php on line 6121

    Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the mfn-opts domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /srv/www/wordpress/wp-includes/functions.php on line 6121

    Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /srv/www/wordpress/wp-content/plugins/vpn-guard/includes/class-vpn-admin.php on line 419

    Thread Starter KyleStilkey

    (@kylestilkey)

    Sorry for the updated post again, so I figured it out, I updated everything to have a value and so forth. There is definitely an issue going on with the default cost of goods. When I add the product I can see the cost of goods say is $20, with the product being $50. It won’t calculate it into the final total at the bottom of the order unless I hit the recalculate button then it shows the final total cost for each item. When I click on update order the cost of goods for the final total goes back to $0.00. I tested this on a simple product too so and it’s happening to Simple and Variable products.

    I am using version 10.2.2 of Woocommerce. I’ll keep testing stuff but as of now it just seems to be a final calculation issue where it’s reverting the total cost of goods on the order back to $0.00.

    After some further testing, there must be something wrong on my end, I have a few other websites I run and none of them are experiencing this. I tested creating a brand new product on both sites, set goods cost and product prices. Create a new order and selected the new product. I see the cost of goods and click create. One one site, it reverts the final total of cost to $0.00. On the other site, it keeps it’s cost of goods I had set. I disabled all plugins but Woocommerce and the issue still shows.

    I’m wondering if I might even have a database issue going on?

    Thread Starter KyleStilkey

    (@kylestilkey)

    I guess besides that weird issue, does the built in function not support the actual cost of goods? It still functions as if it’s revenue when it shouldn’t. Again this is just the built in Cost of Goods in Woocommerce under Advance > Features.

    Thread Starter KyleStilkey

    (@kylestilkey)

    What do you mean? The screenshot shows the lines right in it, COST 25.00 PRICE 25.00 PAID 25.00 COST (After total at the bottom) 0.00. Not sure what you could possibly mean you can’t see it?

    https://imgur.com/a/dtAkWZr

    I am using the default one built in under Advanced Features. The issue is, I have the value set to 0.00 as I don’t want to create 1000 different products for 1 item when I can just manually adjust it. When I change the values to their cost (product itself and on the sale) it shows correctly up top but the bottom final cost doesn’t update, I have to recalculate it and the final cost will update. It seems that there is just an issue with it recalculating the final cost.

    Thread Starter KyleStilkey

    (@kylestilkey)

    I didn’t see your response so I am sorry for the long delay. Right now I handle the store on the backend as I’m a repair shop so there isn’t a way for your to test on your side. I send them a bill and they pay so I would have to create an account for you and create a bill so you could see it.

    I did see on the settings for the plugins page, when I go to select a option for payment method, I have like 20 WooPayments in my list and I am wondering if this is part of the problem, that there is some database or configuration issue. I’d upload an image but WordPress just seems to never want to add it to my post, just continues to spin like it’s trying to upload it.

    I don’t know if you want to reach out to me directly or by another means so I can set this up for you would be great, just kinda annoying right now that it’s working fine sometimes then randomly adds in two lines for a $5 fee just by clicking between the two same options.

    • This reply was modified 9 months, 3 weeks ago by KyleStilkey.
    KyleStilkey

    (@kylestilkey)

    This is still an issue for me as well, even with the latest updates, I still get this error. I need to keep putting this fix in each update to resolve it.

    Sorry wrong location

Viewing 15 replies - 1 through 15 (of 17 total)