kontur
Forum Replies Created
-
Forum: Plugins
In reply to: [Fontsampler] WoocommerceGreat to hear,
I’ll leave this topic open for a while. If you have more questions specific to Fontsampler feel free to ping me here. I’d be curious to learn how you get on ??
-J
Forum: Plugins
In reply to: [Fontsampler] WoocommerceHey Matteo,
what I suggested is my hunch of what could work or what I would look into. In more detail you would need to keep track in javascript of the current user font selection. On the plugin repo there is documentation of the javascript events it fires. You probably want to get the current font on “fontsampler.event.afterinit” and then update it whenever “fontsampler.event.activatefont” fires.
WooCommerce has a couple of javascript events also, you probably want to use the “adding_to_cart” or “add_to_cart” to listen for when a user adds something to the cart. I don’t know if you cant pass in product meta data in that event directly, or if you need to send another AJAX request to your theme with the product id the user added, and specifically send the font name and on the backend of the AJAX call add the meta info to the customer’s cart item. Here is a tutorial with some different approaches to adding the meta data, but the essential bit is this method by which you can add any kind of meta data to a WC_OrderItem — if the meta entry does not start with a _ it will automatically be added to the order confirmation, order backend etc.Again, above is not a concrete instruction, but how I would start to go about it ??
Forum: Plugins
In reply to: [Fontsampler] WoocommerceHey Matteo,
I think this could be done with WooCommerce product meta. On the product page you would need to store the user selections whenever it is changed, and when a product is added the selected font should be saved along with the product to the order.
I am currently not available for contracting since I am too busy with other projects. If you have a web developer who is familiar with WordPress and WooCommerce feel free to have her/him contact me for further instructions and I try help them implement this.
Best,
JohannesForum: Plugins
In reply to: [Fontsampler] Styling IssuesHey,
there seems to be some styling in your theme that overwrites the declarations for “.button” with “!important” declarations, so the plugin’s declarations are, in part, overwritten.
I suggest you contact the support of your theme and let them know that their styling declarations for “.button” overwrite this plugins styling. They should not be using “!important” for all “.button” classes possibly on a site, since that is quite likely to be a common class, and quick likely to overwrite other aspects of a site that uses their theme.
Cheers,
JohannesForum: Plugins
In reply to: [Fontsampler] Capture preview?Hello,
sorry to say, but generation of such an image is out of scope for Fontsampler. Technically, it is something entirely different from rendering the text in the browser, so it’s a feature I have not planned on implementing.
A similar feature that I have been considering is to generate links to a Fontsampler that will render the exact same selection and text from that link. But that, too, is very low on my list of priorities for the plugin at the moment.
Best,
JohannesForum: Plugins
In reply to: [Fontsampler] UI style don’t changeSorry for the late reply.
Make sure that you are updating the correct styling options. There is general settings, and then there is per-fontsampler options. If the Fontsampler is using custom options and you edit the general settings the custom options will still be in place.
Forum: Plugins
In reply to: [Fontsampler] Plugin dropping certain pages on websiteI’m closing this issue due to lack of information. I would be very curious to hear back from you with more details.
Forum: Plugins
In reply to: [Fontsampler] Fontsampler has ‘disappeared’I’m closing this topic as resolved. If you need more support, please comment or re-open a new issue.
Forum: Reviews
In reply to: [Fontsampler] Great for free fontsHey,
thanks for your feedback. As you correctly state, there is no way, technically, to have a webfont render on a website for the user to test without also sending it to the browser and thus it can be intercepted. Sorry to see you are giving the plugin a 3 star review, but there is no way around this browser restriction.
Best,
JohannesForum: Plugins
In reply to: [Fontsampler] Can we display text line for different fonts without selectionYou can place two Fontsampler instances on the page, remove all UI options, and have them use two different fonts. ??
Forum: Plugins
In reply to: [Fontsampler] Change default font size (14px)Thanks for reporting back! Let me know if you run into other issues.
Forum: Plugins
In reply to: [Fontsampler] Change default font size (14px)Can you post a screenshot of that specific Fontsampler’s layout settings where you have edited the initial font size value?
Forum: Reviews
In reply to: [Fontsampler] Great Plugin!Thanks for your review. Feel free to open a new issue if you run into any problems or have suggestions ??
Forum: Plugins
In reply to: [Fontsampler] Font Preview not ShowingYes, same for me, but the text area is there, it just does not have any default text set so it is “empty”. In the options, define a default text to have something displayed there on load.
Forum: Plugins
In reply to: [Fontsampler] Font Preview not ShowingHey,
it seems to load fine on the page you linked, but you might want to set a default text in the options, so you can see the text rendered ??
-Johannes