is0ph
Forum Replies Created
-
Forum: Plugins
In reply to: [TheCartPress eCommerce Shopping Cart] "No Photo" Icon on ProductsThe “no photo“ icon is always wrapped in a div with a tcp-no-image class, so I would add the following code to my site’s CSS to hide it if I didn’t want to edit the theme files:
.tcp-no-image { display:none; }
Hi Juan,
If you check out the files in your wp-content/plugins/thecartpress folder, you’ll find a folder named themes-templates.
These are all files you can copy to your site’s theme folder, which allow you to customise how TheCartPress looks.
It is important to copy them so that an update to TheCartPress won’t erase them.Please check two files out:
tcp_print_order.php (allows you to style the printed order)
tcp_shopping_cart_email.php (allows you to change how the order description looks both when printed and when emails are sent)If you know how to edit html and/or css you can customize where the address is.
Regards,
is0ph
Forum: Plugins
In reply to: [TheCartPress eCommerce Shopping Cart] Tax calculationHi,
Thanks for your answer.
You’ll find my settings in the screenshots linked below. I had indeed set “Display prices with taxes”.
But with these settings :
– prices in the store are displayed without tax when I would want them to be displayed with French tax.
– during checkout, prices are correctly displayed with tax for France, without tax for other countries.https://www.sophie-g.net/galleries/taxesTheCartPress1.png
https://www.sophie-g.net/galleries/taxesTheCartPress2.pngRegards,
Forum: Plugins
In reply to: [TheCartPress eCommerce Shopping Cart] Support discontinuedHi,
Thanks for the info, keep up the good work!
Regards,
Forum: Plugins
In reply to: [TheCartPress eCommerce Shopping Cart] Tax calculationHi,
The checkout is fine and displays the taxes right (tax for France, no tax abroad).
But before checkout, the store displays the prices without tax. I would like the French tax to be always added to the prices displayed before checkout.
I thought the « Set base country for your eCommerce » = France would apply the French tax to all the prices in the store before checkout.
Then « Tax based on » = Shipping Address would calculate the tax at checkout.
But it doesn’t seem to work that way.Best regards,
Forum: Fixing WordPress
In reply to: Avoid exposing admin username on installation and afterThanks for the tips and link!
You can edit the tcp-single-product.php file to display custom fields content.
Copy it from the themes-templates folder found in the thecartpress plug-in folder to your site’s theme folder, then edit that version.Use code similar to the following to display a custom field content, replacing keyOfCustomField with the actual key of your field :
if (get_post_meta( get_the_ID() , ‘keyOfCustomField’, true )){
echo get_post_meta( get_the_ID() , ‘keyOfCustomField’, true );
}As for the stock, check the page http://thecartpress.com/docs/developer-docs/api-template-tags/function-tcp-get-the-stock/ and use that function.
Forum: Plugins
In reply to: [TheCartPress eCommerce Shopping Cart] List of shipping countriesThank you very much!
My site is not live yet so I’ll wait for the update.
Best regards
Forum: Plugins
In reply to: [mqTranslate] Text Editor disable after installation the pluginI got this problem: the editor window text is white on white.
I’ve deactivated all plugins except mqTranslate, the problem persists.
When I load the post edition page, I see these errors in the browser console:
TypeError: a.widget is not a function in load-scripts.php:843
TypeError: e is undefined in load-scripts.php:841I think mqTranslate might be based on an old version of jquery and is calling a deprecated function.
I found a temporary fix online, adding this line to my wp-config.php seems to allow content editing.
define(‘CONCATENATE_SCRIPTS’,false);I hope the mqTranslate team can solve this.
Forum: Plugins
In reply to: Illegal string offset 'taxonomy' in TheCartPressHi,
Thanks for working on that. Unfortunately it shows even with WP_DEBUG mode set to false.
Best regards
Forum: Plugins
In reply to: [TheCartPress eCommerce Shopping Cart] TheCartPress category thumbnailsHi Inigo,
There’s no way I can make it work without using search because I have hundreds of images (images are duplicated by CSV import for each product variation) and I can’t browse through all of them.
Is there a way I can use php to attach an image to a category ?Forum: Plugins
In reply to: [TheCartPress eCommerce Shopping Cart] TheCartPress category thumbnailsThanks Inigo,
The way I found around the bug was that I shouldn’t do a search for an image, but find it using the pagination. Then the “Assign to term » button is visible.
The bug is present both for Posts categories and TheCartPress categories, so I’ll be filing a bug report for wordpress.Best regards,
Sophie
Forum: Plugins
In reply to: [Breadcrumb NavXT] Breadcrumb NavXT qTranslate product categoriesThanks oldlastman, it works perfectly!