-
Posts
3,120 -
Joined
-
Last visited
-
Days Won
486
Content Type
Profiles
Forums
Gallery
Downloads
Articles
Store
Blogs
Everything posted by datakick
-
@30knees said in I'm going to create a free module: I’d be happy to help out here by writing the text and adding the variables. I don’t know enough about the formatting code to do that, though. Shall I take save each email template I write as a txt? sure, that would be great. There's html and txt templates in mail directory, so you can fill in txt versions. You can test it by switching your tb to send email in text format only.
-
@troy-roberts well, that's really up to you. It's your custom implementation. The function will receive two parameters - customer first and last name, and it must return some string. The function above is not deterministic, it returns different string each time it's called. But you can easily modify it to use customer name to generate return in deterministic way. For example, instead of Math.random() you can calculate hashCode of customer's name and use it to find index in list. Note that for guest (not logged users), the fistname / lastname parameters will be empty.
-
@troy-roberts said in I'm going to create a free module: The custom javascript option sounds like the ticket. Thanks much it's included in the lastest version. You can choose 'custom' display format, and then create function revwsFormatName(firstname, lastname). You can easily do it Preferences > Custom code
-
@wakabayashi yes, my build script didn't included mail folder. Thanks for letting me know. here's a new version new version
-
@wakabayashi said in I'm going to create a free module: Yeah E-Mail templates sucks a lot... :( They sure do. I'm thinking about using mjml framework to generate html markup from mjml markup. That would help with cross-email (is this a word?) compatibility, at least.
-
Here's a new version that adds email notifications to both admin and customer. Again, there's a db schema change, so you will need to reset module completely if you already installed it. Note that email templates are mostly empty, but that should be enough for testing. Definitely not for production deployment, though :) I'll fill in template content later. If anyone feels like preparing them, I'd be grateful, as this isn't really my cup of tea... At the moment there are these email templates: - revws-admin-needs-approval - send to admin when review needs to be approved - revws-admin-review-created - send to admin when new review is created - revws-admin-review-deleted - send to admin when review is deleted (by review author) - revws-admin-review-updated - send to admin when review is updated (by review author) - revws-author-review-approved - send to review author when review is approved - revws-author-review-deleted - send to review author when review is rejected / deleted - revws-author-review-replied - send to review author when employee adds reply to review - revws-author-thank-you - send to author as a thank you for creating review Following variables are passed to all email templates (besides standard variables like shop_name or logo) {product_id} {product_name} {product_image} {product_url} {review_id} {author_type} {author_email} {author_name} {display_name} {title} {content} {ratings} {average} {reply} {validated} {deleted}
-
well, we should pursuit this further, then. Once I have some spare time I'll investigate how hard it would be to make this happen (either as a module, or in core), and if it's feasible we can brainstorm this a little bit more and make it a reality.
-
@30knees this actually got me thinking about combination selection. I come up with the idea of having some sort of intermediate page for products with combinations (well, some of them). If customer clicks on product, this page would be displayed instead of standard product page. It would work somehow like category, showing all combinations within product. One attribute could be primary to let visitor quickly decide on some main characteristics, in your use case it could be gel or capsules. If he click on any of this, standard product page with pre-selected attribute would open. Or he could scroll down and see all possible variants of the product. Something like this: This flow could be interesting for some products I believe. And it shouldn't be that hard to implement as a module. Just a morning brainstorming session to get me started my week :)
-
@chandra let me know if you need any help with that
-
@30knees that's probably the reason why the conversion dropped. If your affiliate partner send you a traffic that expects capsules but see gel instead, they are going to bounce. You could try to contact module author and ask them to support combinations, but it's a long shot. Maybe for you it would be better to have these as separate products.
-
@chandra you could create a dedicated category for Products on stock and update the trigger above to associate / dissociate products to this category. Then you could configure Featured products on the homepage module to show this category. Alternative is to modify the source code of that module.
-
does your affiliate partner link to specific combination, or to product page itself? I mean, is there a # fragment selecting combination (ie #/20-color-black/18-size-small) in the url?
-
@troy-roberts on second thought, it would be very easy to add a new custom format option - this one would simply call some user defined javascript function. So you could create your own function that would return any name you wish, even Mauve Hungry Hippo, and revws module would just call this function. This is quite easy, effort is next to nothing. If you wish, I'll add it to the module.
-
@troy-roberts :) That's indeed very niche, and unfortunately too much effort. Also I don't think it's really necessary: - users can easily change the name displayed on review - merchant can also choose default Display name format - for example you can choose initials, or the first name. When customer write review his name will be masked using this format. For example P.H. or Petr H. He can still change it
-
thanks @30knees for the suggestions The store's reply to a review could be prefaced with something like "store name:", to make it even clearer that the store replied. good idea. Maybe even use shop logo as an avatar When I unclick allow anonymous reviews and submit a review as a guest without being logged in, I get the message "Failed to create a review" but I'm not told why. A message> "Please log in to review" would be nice. this is actually a bug - when user is logged out he shouldn't start the review process at all. I'll add some message asking user to log-in immediately "Be the first to write review!" is only at the top, but not at the review tab itself. I think having a link there would also be good. It's actually at review tab as well, but only if the user is logged in (have permissions to create review). This is related to previous point. I'll always show this button, even if user doesn't have permissions, and in that case ask them to log in. On products with attributes/combinations it would be nice if the module asked which attribute/combination the review should apply to and that it would show which attribute/combination the review belongs to. this would be quite a big enhancement. I'll maybe implement this down the road, if there's demand for it. I'm not sure if it's worth the effort, though. Reviews of a customer could show up on their account page...and maybe even better, an overview of all products bought and not reviewed? this is already on my backlog. It's related to sending review request, and the landing page that will ask users to review recently bought products. Thank you for testing this!
-
@wakabayashi said in I'm going to create a free module: @datakick Man you are great! I tested it for some minutes. Editing and commenting worked well for me. Also I used a criteria for just one category, it worked correctly! Love it. I think, mainly the email notification is now missing. :sunglasses: thanks for testing, I'm glad it works for you. There's still plenty of work to do still - right now I'm finishing email notifications, both for admin and for reviewers. Then I'll work on sending (automatic?) review requests to customers who recently purchased some products. I'm still thinking about how to add some incentives to this process, but that's probably out of scope of this module. Maybe my next free module could be some generic rewards module, that could do this task. Btw I see, that reviews are shared between shops. I don't know, if it's by chance or if you thought about it. It's very good like that. Please don't change it :D Oh, that's nice to know :) I didn't really tested it in multistore context. But it makes sense that it works like this, for shared products.
-
and another version version - this one allows you to edit reviews from back office, and also reply to them. This version changes db schema, so if you already installed this module, you need to uninstall / install it again. Sorry, there's no upgrade in pre-release versions :)
-
@wakabayashi that's it, thanks a bunch. This was typical copy&paste bug :)
-
@wakabayashi said in I'm going to create a free module: @datakick after deactivating debug mode, it works fine I have debug mode enabled as well and have no issues. What php version are you on? Could you please turn it back on, and look what's inside ajax response? I'm just curious if it's something from my module, or if the source of this problem is somewhere else.
-
Here's another version of review module that fixes some bugs, and adds moderation capabilities. Now I'll add ability to create new reviews and edit existing one, and also an option to reply to review. I think that will be all in this review management section. Or did I forget about something?
-
@baarssen said in I'm going to create a free module: Will it be possible to upload the existing reviews? I'll probably won't have enough time to implement import into this module. (maybe in the far future) There will, however, be an integration with my datakick module that can be used to import data - at the moment only xml, but I'll add support for csv soon. My module is paid, but there's a 14-day trial period. So you can install it, import your data and then get rid of it. I would obviously be more happy if you keep it :) What i dont see, or i look over it, is the possibility to approve a review after you have chosen to first approve reviews. This part still work in progress. Approving, and replying to reviews will be released soon. Then I'll work on email automation.
-
@wakabayashi said in I'm going to create a free module: @datakick when I click save on settings I get: Failed to update settings when I reload it says: failed to load data. But in fact I believe it works. I use mulitstore and TB 1.0.3 That's weird. Do you have debug mode enabled, by any chance? There may be some php warning/debug/info message emitted into json response, and thus making it not parsable on javascript side. Could you look into network tab in console, and see what is returned by server during ajax call?
-
@30knees @wakabayashi that would be great. But that reminds me that I need to extract translations keys from javascript files... yet another task to my backlog
-
@briljander said in I'm going to create a free module: is it possible to just click send without having to add any text? there's an option allow reviews without details - review name / title is still required, though. There is no option to allow only ratings without a title. Also, by default you can't create review when no review criteria matches the product. This can happen only when you have NO global criterion. For example, let's suppose you have only one criterion Taste that applies to products in Cakes category only. You couldn't create review for products in different category, say for a shirt, unless you enable Allow reviews for products without review criteria option. In that case you will be able to create a review. But you can't give a ratings, since you can rate only criteria. It will be only text review without stars.
-
@30knees thanks, these kind of things is exactly what I wanted to hear. I develop on mac with large screen resolution, so I tend to overlook issues like this. @mockob sure thing, rich snippets will be there. I plan to integrate with tb native json+ld module,. I'll also add an option to emit snippet even if json-ld module is not installed for some reason. @chandra I've already added support for multiple criteria, as discussed above. As for the email follow up - email will contain url to dedicated landing page that will list all recently purchased products with option to write reviews for any of them. Shouldn't be hard, if I manage the auth process correctly :)