Right now we have to manually type in an email for purchased products.
I suggest a simple mechanism of a default one.
Oh, and also insert a {product_name} kind of variables, into the emails, to be inserted in the default formula.
So that we can write a generic email layout after a product has...
Any way around it? Also, another question. Can I have a credit currency be greater in value than real world money, to basically constitute a financial bonus, so it comes up at a "discount" essentially, encouraging users to charge their wallet rather than directly buy something.
So I have both Credits and ECommerce as addons.
I want to be able to let users buy their way into certain products by gaining credits, like through engagement in posts.
But some products I need real money for, so I do ask if it is possible to specify to products which payment profiles are...
when I said gd, it was the original state.
I switched to Imagick, and the error remained.
I have my own working patch for now. I would oblige to provide further debugging intel, if needed.
Not acting in bad faith, btw, I do not claim to know the definitive source of issue, could be my own fault, I just wanted to fix it, which I did in my own way. All is good.
Um, I have both gd and Imagick, and Imagick is selected.
And you responded to me about a day or more after I posted the problem. Really I had my own patch which is this updated src/addons/DBTech/eCommerce/Service/Product/IconService.php file:
https://pastebin.com/5S0bp5ZS
And this patch...
The error it logged is as such:
InvalidArgumentException: File '/tmp/phpOM57zc' is not a valid image
src/XF/Image/AbstractDriver.php:323
Generated by: Yoel
Oct 18, 2024 at 5:08 PM
Stack trace
#0 src/XF/Image/Manager.php(62): XF\Image\AbstractDriver->imageFromFile('/tmp/phpOM57zc')
#1...
I have both. I think the script doesn't recognize Imagick, even though it is both existent and enabled, and shows up on the xenforo admin homepage as supported, and thus leaves it to gd which i think doesn't support svgs. But I do have both of the extensions.
Error: Call to a member function getType() on null in src/addons/DBTech/eCommerce/Service/Product/IconService.php at line 238
DBTech\eCommerce\Service\Product\IconService->updateIcon() in src/addons/DBTech/eCommerce/Pub/Controller/ProductController.php at line 590...