-
Posts
3,128 -
Joined
-
Last visited
-
Days Won
490
Content Type
Profiles
Forums
Gallery
Downloads
Articles
Store
Blogs
Everything posted by datakick
-
I've added another functionality. There's new section in customer account displaying all customers reviews, and also ask for review on recently purchased products. This will be the landing page for email review request (next task in my backlog). There's also an option for admin to quickly approve / reject directly from email. revws.zip
-
@mockob it's actually quite easy to delete order - simply open order, and in page url replace vieworder to deleteorder
-
TB uses google location services to help you determine if customer's address is valid or not. This might prevent you from sending your goods to non-existing address. I would say that's a good thing. In order for this to work, you need to get google api key and save it to Preferences > General > Google Maps API Key. Without api key this whole process is useless. If you are really that paranoid and think that google is out there to get you, you can always edit file /controllers/admin/AdminOrdersController.php . line ~ 400. :)
-
the result of password_hash actually contains two parts - hash and salt. Salt is randomly generated each time you call this function, that's the reason why the result is different each time. In order to verify password, simply call function password_verify, with plain text password and a result of pasword_hash function: password_verify($plaintextPassword, $hashWithSalt) in other words, following expression will always return true: password_verify($plaintextPassword, password_hash($plaintextPassword, PASSWORD_BCRYPT))
-
I don't believe that ttfb plays important part in google algorithm. They know that modern web is full of complicated javascript and they try their best to account for this. Google is able to index javascript generated content for a few year now. In order to do that, they have to simulate the browser rendering processes. They have to wait for all the blocking resources before they can render the page, all the external js and css and fonts, anything blocking. Trust me, they know exactly how long it takes for page to show some real content. And since this metric is what matters to people, it definitely matter to ranking algorithm.
-
@baarssen said in Different flavors and combinations - best as one product or several?: @datakick do you know where to look for someone who can make a coloratribute like this: https://www.verfwinkel.nl/trimetal-ae-brillant-acryl.html any developer worth the name should be able to do something like this. Customization like this would require: custom attribute type - tb has dropdown list, radio buttons and color by default, you would probably need custom type. additional metadata on attribute value - attribute value would need to capture color and manufacturer (or category) information and obviously custom rendering, probably with some nice javascript to make the whole selection flow smooth and easy Now, to implement this would take time. If I were to do this, I'd estimate this to 8-10 hours of work, so it would cost you €400. Custom development is not cheap, people should remember that when they purchase overpriced modules ;) Contact me if you'd like to proceed with this - I'm available for freelance work.
-
@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.