You are here:  » Special Characters With Greek and Default Sort Option Questions


Special Characters With Greek and Default Sort Option Questions

Submitted by fotisman01 on Sat, 2015-01-17 08:59 in

Good morning my friend!

First of all, you got a great component. I bougth it yesterday. Only got me 2 hours to install and get to know it. It's exactly what I was looking for. I only got 2 issus that I cannot resolve on my own.

The first issue is allready discused in the forum. It's about special characters.
I have a UTF-8 feed with greek characters, it dispays as it should on the stand alone pricetapestry installation, but when I display it in my joomla content, it doesn't show the characters right. I use the latest version of pricetapestry along with Joomla 3.3.6.

And an other small issue. How can I display the items sorted by Price Asc by default when used in a shortcode in Joomla content? I searched in the forum, and change a value in the installation so now the stand alone pricetapestry displays as by Price Asc by default. But when I display the shortcodes, it uses relevance sort option. How can I change that?

Thank you in advance! :)

Submitted by support on Sat, 2015-01-17 09:16

Hello fotisman01, and welcome to the forum!

The UTF-8 special characters issue is easily fixed - it will be down to a mis-match in collation between Price Tapestry and Joomla tables, combined with the character set of the connection. I have a patch that will modify the table collation and set the character set of the connection for standalone Price Tapestry which I will email to you in just a moment. After applying the patch and then re-importing your feed(s) the content will then display correctly in Joomla.

Regarding default sort by price ascending for shortcodes, if you edit the file plugins/content/plg_pto_content/plg_pto_content.php and look for the following code at line 48:

  return pto_search();

...and REPLACE with:

  global $pto_sort;
  $pto_sort = "priceAsc";
  return pto_search();

Cheers,
David.
--
PriceTapestry.com

Submitted by fotisman01 on Sat, 2015-01-17 09:35

WOW! Thank you Both answers worked perfectly! And you answered REALY fast!!!! :) You have done some excelent job! Thank you.

I will setup my website today, I'm greatfull for the great support that you are offering!!

One more fast question. When I wan't to remove products, how do I perform the removal? Lets say I wanna completely remove a feed. Do I delete the database inputs or there's an easyest way?

THANKS FOR EVERYTHING!

Submitted by support on Sat, 2015-01-17 09:39

Hi,

The process is simply to delete the feed from /pt/feeds/ folder. Then go to /pt/admin/ and you will see the "De-Register" link next to the old filename. Click the link to remove the registration information and all products associated with that feed from the database.

Cheers,
David.
--
PriceTapestry.com

Submitted by fotisman01 on Sat, 2015-01-17 09:48

Thats great!!! Thank you very much!!! Have a nice weekend! Love your work and support!