datakick Posted December 5, 2023 Author Posted December 5, 2023 29 minutes ago, 30knees said: @datakickWhen I create an order manually in the admin backend, customers automatically get a review email from Revws. Is this intended or a bug? To me, it feels like a bug because in the settings I have consent required. The revws module does not care about how the order was created. It just looks into database to check if the consent was given or not. Note that consent is not per order, but per customer. In this case, your customer probably gave consent when they registered, or during one of their purchase. 29 minutes ago, 30knees said: Either way, is there a way to prevent this automatic addition to Revws? The only thing that comes to mind is to use dedicated order status for back office orders 1
Adik Posted February 18, 2024 Posted February 18, 2024 (edited) php 8.1, I get error while exporting to xml format: TypeError: Cannot assign null to property DOMAttr::$value of type string here is simple fix: (line 231) in file /modules/revws/classes/backup.php: $name->value = $rev->isCustomer() ? ($rev->customer ?? '') : ($rev->display_name ?? ''); Edited February 18, 2024 by Adik 1
30knees Posted July 14, 2024 Posted July 14, 2024 I noticed that the email review requests have in all languages in English "Rate this product". It's part of the {products} in the HTML of the email. Under Localisation and Module Translations "Rate this product" is translated. Where else do I need to translate so "Rate this product" is in the proper language of the email?
movieseals Posted January 25, 2025 Posted January 25, 2025 I am having an issue with css. I had managed to make the Rating on the displayright section of the product page to look the way I wantedbut the CSS seems to be automatically generated and it keeps refreshing and seemingly overrides whatever I put in the CSS of my theme for what is loaded in that hook. How can I keep my changes?
led24ee Posted yesterday at 02:38 AM Posted yesterday at 02:38 AM I have this module. Somehow there is error. When client get this email there is only language relates flag picture instead of product picture. Can someone point me in correct direction to find out why is this ? I haven't changed anything in system. So I have no idea what can be the cause. Thank You
datakick Posted 20 hours ago Author Posted 20 hours ago 5 hours ago, led24ee said: I have this module. Somehow there is error. When client get this email there is only language relates flag picture instead of product picture. Can someone point me in correct direction to find out why is this ? I haven't changed anything in system. So I have no idea what can be the cause. I checked the code, and revws module only supports jpg files. Which was ok in the past, but now when you can have your product images in webp or other formats, it can cause troubles. If your store uses webp images, edit file modules/revws/controllers/front/EmailAction.php and change lines private function getImage(RevwsEmail $email) { $email->markOpened(); $imageId = (int)$this->getValueOrThrow('image-id'); $type = $this->getImageType(); $file = _PS_PROD_IMG_DIR_ . Image::getImgFolderStatic($imageId) . $imageId . $type . ".jpg"; if (!file_exists($file)) { $file = _PS_PROD_IMG_DIR_ . Image::getImgFolderStatic($imageId) . $imageId . ".jpg"; } to private function getImage(RevwsEmail $email) { $email->markOpened(); $imageId = (int)$this->getValueOrThrow('image-id'); $type = $this->getImageType(); $file = _PS_PROD_IMG_DIR_ . Image::getImgFolderStatic($imageId) . $imageId . $type . ".webp"; if (!file_exists($file)) { $file = _PS_PROD_IMG_DIR_ . Image::getImgFolderStatic($imageId) . $imageId . ".webp"; } I will fix this in next version of module 1
led24ee Posted 17 hours ago Posted 17 hours ago Hi Will try, because this may be the reason. But in this case I'm the only one who run this format ? I haven't seen that someone else is having this problem and I highly doubt that I'm only one using this module. Thank You
the.rampage.rado Posted 17 hours ago Posted 17 hours ago I have this issue also but i haven't noticed it until now, i simply forgot we are sending the images too.
led24ee Posted 17 hours ago Posted 17 hours ago 3 minutes ago, the.rampage.rado said: I have this issue also but i haven't noticed it until now, i simply forgot we are sending the images too. I use option BCC when sending e-mail, so I can see what I'm sending. Of course this depend how heavy outgoing traffic is. I suggest for better result there is possibility to use shop logo when product picture is not available (what ever this reason may be) or at least this looks better for me.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now