Forum Replies Created

Viewing 15 replies - 91 through 105 (of 126 total)
  • Plugin Contributor Bartek

    (@bartj)

    Hi @beflanet!

    Sorry for the late response.

    For what you suggested, data in “_op_order” is an array, so you have to do two following things – firstly call to retrieve actual meta value (not dynamic property, as you’ve tried with $this->get_order()->_op_order), then get the value from array.
    I assume that you should create method body similar to:

    
    public function value( array $parmeters ) {
      return $this->is_order_provided() ? $this->get_order()->get_meta('_op_order')['note'] : '';
    }
    

    This may not be fully functioning, and you have to tailor it to your needs basing on your knowledge.

    Best regards,
    Bartek

    Plugin Contributor Bartek

    (@bartj)

    Hello @abbasspacetap!

    We do actually have a placeholder for billing phone (named {{ order.billing_phone }} ), but it’s only available in order context events, meaning that if you use such events as Order New, Order Status Changed, etc. it will be visible to you. On the contrary, customer based events (Customer – Account Created, Added To List) don’t have access to order context (order can contain customer, but customer cannot contain single order to fill this context), meaning you can’t use (and it’s invisible) billing phone placeholders.

    Best regards,
    Bartek

    Plugin Contributor Bartek

    (@bartj)

    Hi @beflanet!

    I see. In such case it would be the best to write a custom placeholder yourself which will be able to get a value from array returned in _op_order meta value.

    You can look up how to create placeholders in our documentation: https://docs.shopmagic.app/article/174-adding-custom-placeholders

    Plugin Contributor Bartek

    (@bartj)

    Hi @beflanet

    Is it something that placeholder {{ order.meta }} can handle? If it’s stored in postmeta table related to the order, I guess it would be possible to use {{ order.meta | key:’_op_order’ }} to get the value.

    Let me know if this helps.

    Best regards,
    Bartek

    Plugin Contributor Bartek

    (@bartj)

    Hi @beflanet!

    How would you like to use this? We’ve already have event Order – Note Added which provides access to order note content and author. With the help of filters, I guess you would be able to target only the original note (if retrieving the first one is really necessary).

    Best regards,
    Bartek

    Plugin Contributor Bartek

    (@bartj)

    I don’t know how to replicate the issue since it seems to be happening randomly or it happened for those 2 days. What do you recommend? How should I track future issues?

    For what I know, it might be related to Refund orders in WooCommerce. As for this, recent update from today fixes this issue. There’s nothing else you have to do.

    Wouldn’t it be possible to switch from dropdown to checkbox if there are a lot of variations/products to be added?

    I see some flaws with checkboxes too, yet we will discuss it in our team how to improve the accessibility of this field, as we know that picking a lot of products for such filters may be hard to pick and edit afterwards.

    I am closing the issue for now. If you stumble upon other errors while using ShopMagic, feel free to open another thread.

    Best regards,
    Bartek

    Plugin Contributor Bartek

    (@bartj)

    Hello @catalinbaciu!

    Thanks for the through description of the issue and attachments! I think you may be experiencing two, not directly related issues.

    One of them is known and it’s about sending test message when you’ve got a refund in your store. Actually, refunds are not processed the same way as other orders and referencing them while sending test message (which you don’t have influence of, it just takes random order from your store to fill the data in) may cause an error. This will be fixed with the upcoming patch release.

    On the other hand, did I understand correctly, that ShopMagic doesn’t send any email to customers at all and failing silently, without any trace in outcomes? If yes, this may be another issue in app, which we’d need to debug. Can you catch any other error messages in WooCommerce log when automation fires?

    Best regards,
    Bartek

    Plugin Contributor Bartek

    (@bartj)

    Hi @dededey!

    We’ve recently update our plugin solving the issue.

    Check it out and confirm, if the issue is solved.

    Best regards!

    Plugin Contributor Bartek

    (@bartj)

    Hello @dededey!

    As we are working on the issue, I’d like to ask you to find out which Customer in your store has ID 151 (you can find this in Users section in WordPress menu) and tell me if customer with ID 151 is associated with Cart ID 71 (you can find this in ShopMagic Carts page in admin area).

    If the cart no longer exists, you may try with Cart ID 51 and User ID 122.

    Could you check this for us?

    Best regards,
    Bartek

    Hello @zappob!

    When it comes to your request – we will add this to our board. It seems pretty reasonable to me, then you may expect it to land, but without precise release date yet.

    Actually, WooCommerce doesn’t store data about guest customers itself in an efficient and sensible way – you can retrieve data about some customer but only from created order. This is bad for performing multiple operations in a numerous ways. At first it wouldn’t be performant-wise to search for an order and get only a piece of it’s data each time we want to refer to a customer. Additionally, sometimes you may want to target users who neither registered or purchased any item yet (as it is in Abandoned Carts) – without ShopMagic trying to save this data it wouldn’t be possible to know your customers before the purchase.

    If you have other questions about it, feel free to ask.

    Best regards,
    Bartek

    Plugin Contributor Bartek

    (@bartj)

    Closing the thread due to no response and insufficient data to reproduce the bug.

    @joyryde feel free to contact us anyway, if you will experience some inconveniences in plugin.

    Plugin Contributor Bartek

    (@bartj)

    Hello @joyryde!

    Could you provide more info about the issue you stumbled upon?
    At first it would be good to send system report from WooCommerce status page. When does the error shows? Is it permanently interrupting the flow of the website or just displaying the warning (without fatal error)?
    To me, it looks as some issue in database, when reading automation actions data – can you verify, your actions data in database have correct values?

    Best regards and thank for helping solve the issue!

    Thread Starter Bartek

    (@bartj)

    Hi @diegoversiani!

    Thanks for the quick response! It’s great to know, that you are planning this feature. I’m looking forward.

    Hi @microjingles

    I looked at your website and I’m afraid it’s more complex than just reading custom fields values. What would be necessary in this situation is explicit support/integration with Products Addons for WooCommerce plugin.

    I don’t have the possibility to test the pro version of aforementioned plugin, but I guess that our Abandoned Carts would correctly save the final price of customized product, but with no data about setup that Customer have chosen.

    Hello @microjingles!

    Briefly, no. Our plugin stores only the reference to the product in your store, including name, current quantity and possible taxes. Although, variable products are supported, so if you let your Customers to choose something in that matter, it would be possible, but if it’s data saved at checkout or just a product level – it wouldn’t possible to achieve.

    Could you show me the page with such choice – I feel, I could better understand it then and maybe found some solution for the future release!

    Best regards,
    Bartek

Viewing 15 replies - 91 through 105 (of 126 total)