ReneSoh Posted March 13, 2024 Share Posted March 13, 2024 (edited) Hi All products in order_conf email have hyphen (minus) behind it , check picutre? Why is that and how to get rid of it? PS ver 8.1.3 Thanks for help! Edited April 24, 2024 by ReneSoh (see edit history) Link to comment Share on other sites More sharing options...
Nickz Posted March 13, 2024 Share Posted March 13, 2024 Look into the product you added and see if that hyphen appears there. Link to comment Share on other sites More sharing options...
ReneSoh Posted March 13, 2024 Author Share Posted March 13, 2024 Product names are all without it. It comes somewhere during getting this email together. Link to comment Share on other sites More sharing options...
Prestashop Addict Posted March 14, 2024 Share Posted March 14, 2024 The hyphen is displayed when you have product combination. Check your product combination name and translation. 1 Link to comment Share on other sites More sharing options...
ReneSoh Posted March 14, 2024 Author Share Posted March 14, 2024 But i have zero combinations and combinations are also disabled, check picture. These hyphens are only to email what goes to customer, but are not what come to mail alerts about new order. All product names are in PS without hyphen after product name. So i really dont understand what I need to change/check here? Link to comment Share on other sites More sharing options...
Prestashop Addict Posted March 15, 2024 Share Posted March 15, 2024 Try to activate combination even if you don't use it. Link to comment Share on other sites More sharing options...
ReneSoh Posted March 15, 2024 Author Share Posted March 15, 2024 Yes, disabled it and enabled it, nothing. But maybe I am understanding something wrong here. Where is this Combinations in prestashop 8.1.3? In product view I dont see any tab or anything about combinations. In Performance Combinations are enabled, but where it is then? I thought it this Attributes & Features - they are empty but still this hyphen arrives with emails to customers. Link to comment Share on other sites More sharing options...
Prestashop Addict Posted March 15, 2024 Share Posted March 15, 2024 I tested on a fresh install 8.1.4 no hyphen! Are you sure you use default mail templates? Link to comment Share on other sites More sharing options...
ReneSoh Posted March 15, 2024 Author Share Posted March 15, 2024 Yes I do. This thing was from the start, when I installed 8.1.3 about 3 weeks ago and right away this hyphen was in every order_conf email. Tried now also, write over core e-mails, child theme emails, tried modern-classic emails - always this hyphen after product name. But the Congratulations email what comes from mail alerts is without hyphen eg. correctly. Link to comment Share on other sites More sharing options...
ReneSoh Posted March 17, 2024 Author Share Posted March 17, 2024 Hi I dig more little bit here. In my products what are migrated from 1.6 version there is no tab Combinations, there is instead Stocks tab, that's why I didn't understand Combinations eg. where they are. So I made new product and there was now option create combinations, and this new product has now Combinations tab. (Stocks is gone). And in database ps_product this product has product_type > combinations . All my previous products have standard or nothing at all. My question is do all products need to have product_type said and maybe this is causing this hyphen now? But when I ordered now this new made product with combinations in database it still had the hyphen and these products what have standard they also have hyphen - so nothing has changed for this new product what has combinations. So please can someone explain what in database should be correctly etc if this may give that thing? Thanks for the help! Link to comment Share on other sites More sharing options...
ReneSoh Posted April 11, 2024 Author Share Posted April 11, 2024 Hi Still having this hyphen problem, maybe someone pls explain what's the case here? Made today fresh 8.1.5 version installation , nothing is changed or added and when making trial order with PS installation demo products (demo_12 - standard and demo_20 - virtual) I get also order_conf with hyphens? Pls check picture. Demo product what has combinations demo_6 has this hyphen also, but some combination shown what I suppose is correctly now. So there is no possibility in Prestashop to get products (what are product_type > standard) to order_conf e-mail without these hyphens as I understand? Or how I should get these demo products to order_conf e-mail without hyphens when they are product_type standard? Link to comment Share on other sites More sharing options...
Prestashop Addict Posted April 16, 2024 Share Posted April 16, 2024 You right, it's a bug on classes/PaymentModule.php line 446 replace 'name' => $product['name'] . (isset($product['attributes']) ? ' - ' . $product['attributes'] : ''), with 'name' => $product['name'] . (isset($product['attributes']) && $product['attributes']!='' ? ' - ' . $product['attributes'] : ''), 1 Link to comment Share on other sites More sharing options...
ReneSoh Posted April 17, 2024 Author Share Posted April 17, 2024 And it is gone!!! Thank you for your effort! :) Link to comment Share on other sites More sharing options...
Prestashop Addict Posted April 21, 2024 Share Posted April 21, 2024 Le 17/04/2024 à 7:56 PM, ReneSoh a dit : And it is gone!!! Thank you for your effort! Don't forget to change subject to solved, and appreciate a like on solution post 😉 Link to comment Share on other sites More sharing options...
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