Have you looked at Send_Email_Attachment() in the LSK?
(Of course, you may be trying to do this outside of Merchant.)
I would suspect a stray crlf that most mail servers handle without...
Type: Posts; User: Gordon - Phosphor Media; Keyword(s):
Have you looked at Send_Email_Attachment() in the LSK?
(Of course, you may be trying to do this outside of Merchant.)
I would suspect a stray crlf that most mail servers handle without...
Could you do us all a solid and post your workaround?
Also, where is the public documentation of the _Dot and _Level functions? It is not in the LSK and the only mention I find via Google is...
'SELECT * FROM orders WHERE bill_email LIKE \"%' $ l.searchtext $ '%\"'
LIKE only works on text fields, of course.
I would hope that this would be implemented so that it effectively adds an 'ORDER BY' clause. IOW it is merely another view of the data and has no effect whatsoever on existing APIs.
Rather than try and do this at the query level, I use a function. Since I would never do this 1000 times at runtime, it works for me:
<MvFUNCTION NAME="FieldExists" PARAMETERS="module VAR, table,...
AFAIK you can't do this in MySQL without using a stored procedure.
Excellent, thanks!
I've looked around and haven't found one. I wondered if fdelete/sdelete would work if it was passed a directory?
Yes this is correct. Put the code you want to run in the Module_Cleanup_Store function.
From Mivascript.com:
mode_number = ( nnnn decimal number) or '0nnnn' (octal string)
Ray, spot on - thanks. I completely missed it in the dbprim folder.
Well, I found the SEOSettings table. It looks like I can just query it. I was hoping there was an API!
Does anyone know if there is a way to detect whether a Merchant 5.5 PR8 user has Short Links enabled (Domain Settings>SEO Settings>Short Links)?
Thanks - Gordon
Thanks. Using VARCHAR(2048).
I am creating a table in MySQL for use in a Merchant module. The module is MySQL only.
I have a character field that needs to be 2048 characters maximum. If I was to do this to be compatible with...
This is probably a wish list item: it would be helpful to have the order ITEM deletion trigger order_item_delete independent of the order status. In the case of electronic delivery, there is no...
It sounds like you're using categories more as general content containers than as hierarchical entities. Can you give a short specific example? It sounds like you are wanting to do what is known as...
Summer of 2001. Miva was preparing to release Merchant 4.0, and we raced to develop and finish StoreMan4 so we could offer it very soon afterwards.
We burned enough midnight oil to power a few...
Well. we've got it working in a module. We use it to automatically deactivate a license record if the order gets refunded.
Module_Order_Delete_Order is called only when an order is deleted. Not...
We have a fix for this issue now.
I have found the bug (we did not update our use of Product_Update since that field appeared - it will set cancat_id to 0 if not passed in) and an update to the Connector will be coming soon.
Well, it was close. The Module_Notify_OrderItem_StatusChange function does not get called on orderitem deletion.
Thanks - this looks like exactly what I need. I must have been looking on an older list since this feature type didn't exist.
I know that if you delete an order (e.g. via Manage Orders>Edit Order>Delete) it will call Module_Order_Delete_Order. That works as expected.
If the order has multiple products, and you delete one...
I'm writing an Export module, and getting an unknown error MER-DBE-MOD-00015.
Anyone recognize it (I've tried to search the LSK for this error, but no joy)?
Results 1 to 25 of 64