dayley
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Enabling full-width sidebar on mobile screenTry putting this in your CSS
@media screen and (max-width: 640px) { .cb-sidebar { width: 100%; }- This reply was modified 8 years ago by dayley.
Forum: Plugins
In reply to: [Polylang] Bulk Products translation in WoocommerceNot necessarily @lachender_engel,
I totally agree that translations should be done individually for items, because such automated translation services e.g Bing Translate, Google Translate etc are useless. Especially when the translation is to a language that uses symbols like Chinese, Thai, Japanese and so on.
But that being said, I don’t agree that it is a wish of a small number of users. There are a large amount of website owners/developers with large amounts of products that wish to add multi-lingual capabilities to their websites that are running into this ‘backward- current’.
The process could quite easily be sped-up! A products page that allows you to quick-edit the description would be highly convenient. Something similar to the WordPress Widget section perhaps?? Where you have multiple input-boxes (one box for each description language), click save, wait a second or two, and scroll down to the next product. Simplicity, speedy & effective.Hi Markekts,
Although Polylang is a great plugin to use, expect no help from them!
I did manage to keep the same item name, and if you navigate to ‘Edit Product’ you can create a version with the same permalink. The look/view of Polylang seems to vary on peoples Edit Products page for some reason, but for mine there is a little flat and ‘+’ symbol which I can click that creates a duplicate of the page for you to write the whole description etc again but in a second language.However, this being said, The only way I can get Polylang to work on my website is to have http://www.mywebsite.com/shop/product-name and http://www.mywebsite.com/TH/shop/product-name. So although the products work perfectly on the site and customers can switch between the two languages at ease, the links are slightly different due to the “TH” it places before the “shop” in the site address. Which is not the best when it comes to advertising using Google Adwords. But I cannot find another way around this.
A good little tool to also use is the ‘String Translation’. From your WordPress menu, open languages > string translation. Here you can also translate all the common used strings of text throughout your website. This is extremely good for when users are trying to Checkout and purchase items. Its all good if they can read the product description, but if they cannot read the Checkout process then everything else is pointless.
And finally, for the menu, I just created a second menu. So I have MainMenu_Eng and MainMenu_Th. Then you need to create all the categories in your second language for the new menu. Then once all your duplicates of your products/items have been created as explained above, you can simply add all the new products/items to the correct categories of the new menu.
Hope this helps!
Let me know how it goes.Forum: Plugins
In reply to: [WP Super Cache] “Preload may have stalled” spammy 24/7 reportsFrom my own experience as a web dev, I have realized that the preload NEVER works correctly if your using CloudFlare. A simple tickbox for notifications would do the trick to be honest. just to get rid of the annoyance that everyone has with this repetitive email.
- This reply was modified 8 years, 6 months ago by dayley.
Forum: Plugins
In reply to: [Polylang] Creating multiple languages for a productOkay, I managed to find a simple solution to this for anyone who has run into the same problem.
https://github.com/grappler/polylang-slug
This mini plugin allows you to use the same Polylang slug. Just download, install, activate, and now when you create another language for your products you can change the permalink to the same as the original. +Rep to Ulrich Pogson
(grappler) for creating this addition!I am also wanting to know the answer to this!
Although if you have 15 languages, surely 15 of every product on a 10,000 product website seems cRaZy?! – Is there a more convenient way?? Such as adding multiple languages to the same product, and being able to select between the languages to change the content of each? This seems a far better option. Although I cannot seem to be able.I managed to get 2 languages working on *1* singular product out of many.
But every time I try adding a second language to products it creates a new product with a slightly different permalink. Example: this-is-my-permalink and this-is-my-permalink-2
This is a terrible option as I would have to do two lots of advertising for the two different permalinks.Forum: Plugins
In reply to: [WooCommerce] Cart doesnt always show items, yet checkout does.Coverted to Storefront. Problem solved. Many Thanks.
Forum: Plugins
In reply to: [WooCommerce] Cart doesnt always show items, yet checkout does.I have only used the TopShop theme by kiera, but this theme use to work fine.
Is there a way I can change the theme for testing things like this without making live changes to the site? As its a pretty big site that cant afford downtime.Forum: Plugins
In reply to: [WooCommerce] Changing tax labels in cart totalsNevermind. I resolved it myself! 🙂
But for those who maybe struggling with changing tax labels in WooCommerce, here is the code snippet you need. This example changes the name Tax to Vat:add_filter( 'woocommerce_countries_tax_or_vat', 'woo_custom_tax_label' ); function woo_custom_tax_label( $label ) { return 'VAT'; }Forum: Plugins
In reply to: [WooCommerce] Changing tax labels in cart totalsHi!
I also have a similar problem so I thought it would be best to ask here
(As I have already asked everywhere else on the planet!)I have searched high and low for this amend to WooCommerce products but hit a dead end. I have tried various plugins such as ‘WooCommerce EU VAT Compliance’, WooCommerce EU VAT Appliance’, ‘WooCoomerce Taxomony’ and many other additional plugins not linked to WooCommerce. I have also searched StackOverFlow and found similar….but not quite what I need and this topic seems the closest. For starters I am working with VAT, not TAX.
1.
My business is based in Thailand (e-commerce) selling physical items and I am required to Show/Produce ‘MY’ VAT Number. This could possibly be entered via the ‘WooCommerce Tax Settings’ maybe as a extra field? I would like this to be placed on my customers Invoices for them to see. (Other plugin examples I have seen allow the customer to put ‘THEIR’ VAT Number in at the Checkout for VAT reductions which is ‘NOT’ what I need)2.
I also want my products to have ‘VAT included in the price’, and when they head over to both the Cart & the Checkout the Sub Total/Totals are given as well as a ‘VAT calculation below the Total amount’. something like:Total 20,007 Baht
(+ 7 Baht Vat Included)Any help on this amend would be GREATLY APPRECIATED as my VAT is required on my site ASAP before I can continue making sales and producing Invoices to customers!
Thank you.