You are here:  » Browse by Merchant Link

Support Forum



Browse by Merchant Link

Submitted by jajaj on Mon, 2012-06-11 13:34 in

Hi David

I have installed Price Tapestry and succesfully uploaded a feed to the feeds folder, but would appreciate some help on the next step; the 'Browse by Merchant' link.

My website is under construction,(by me). That is - I am not using WordPress or any other design templates, but have started my website from scratch. I have desginged a website before, but never had any dealings with data feeds.

Do I simply create a page on my website for the merchant link, or will I encounter any problems that you can foresee?

I am trying to avoid any pitfalls!

Many thanks

Kindest regards

Judie

Submitted by support on Mon, 2012-06-11 13:42

Hello Judie,

The merchant A-Z page should just "be there" after a successful install; and having uploaded, registered and imported your first feed. The URL will either be

/merchants.php

..or

/merchant/

..if you have enabled rewrite by using $config_useRewrite = TRUE in your config.php and having set-up your .htaccess file from a copy of htaccess.txt from the distribution).

Otherwise; you would normally create your design through custom html/header.php and html/footer.php files (see this thread about creating a custom theme from an existing .html design) and changes to default.css (you'll see that each aspect of the site is output within a DIV with an appropriately named class, e.g. <div class='prices'>

Hope this helps! If you're still not sure; if you would like to post your installation URL (i'll remove the details before publishing your reply) and any further questions I'll check out where you're up to and advise on next steps....

Cheers,
David.
--
PriceTapestry.com

Submitted by jajaj on Mon, 2012-06-11 20:03

Hi again David

Many thanks for your reply and help.

I will have a look at this tomorrow.

Kindest regards

Judie

Submitted by jajaj on Wed, 2012-06-13 21:08

Hi Again David

Having gone through the first part of your instructions, I get the following three error messages:

Warning: require(includes/common.php) [function.require]: failed to open stream: No such file or directory in /home/woohoolo/public_html/merchants.php on line 2

Warning: require(includes/common.php) [function.require]: failed to open stream: No such file or directory in /home/woohoolo/public_html/merchants.php on line 2

Fatal error: require() [function.require]: Failed opening required 'includes/common.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/woohoolo/public_html/merchants.php on line 2

I therefore believe that I may need to create a custom theme, as per the thread you provided.

I have read through this and understand/know how to execute everything, other than the first step:

Step 1
Create an HTML page for your theme, with a marker such as HERE at the position at which you wish the Price Tapestry generated content to appear.

This is probably due to my insufficient breadth of knowledge re web design!

Please could you give me 'dummie' type instructions for this first step?

I am in no hurry, so whenever you have the time to reply is fine.

Many thanks

Kindest regards

Judie

Submitted by support on Thu, 2012-06-14 13:50

Hi Judie,

You don't need to create a custom theme - "out of the box" the script creates the output exactly as per the demo site. Could you perhaps let me know your installation URL (I'll remove before publishing your reply) and I'll check it over for you...

Cheers,
David.
--
PriceTapestry.com

Submitted by gregor on Thu, 2012-06-14 15:11

Just an observation, but there is often another directory between public_html and merchants.php (/home/woohoolo/public_html/install-dir/merchants.php . Wondering if you have set your $config_baseHREF in config.php. ?? Can you get to any PriceTapestry pages? If you go into your file manager on your hosting site - can you find merchants.php? That might help you figure out the correct mapping and value for $config_baseHREF.

good luck

Submitted by jajaj on Fri, 2012-06-15 20:26

Hi David

Thanks for your reply.

I THINK I am getting somewhere!

My web site url is: {link saved}

www.example.com/pt/merchants.php takes me to the correct link, (I hope).

But - should I have /home/ in there somewhere? I noticed that clicking on 'Home' from the products page returns an error, because the path is: http://www.example.com/home/woohoolo/pt/

I have now stripped my web site back to the bare bones, to make sure nothing gets in the way of Price Tapestry.

I have managed to upload a feed, but cannot seem to find anything, other than what shows on the trial import.

Many thanks for your patience with this and with me!

Kindest regards

Judie

Submitted by jajaj on Fri, 2012-06-15 20:28

Hi there

Thanks so much for trying to help. Checked out the path from the file manager, as you suggested.

I am making some progress: very slow though, lol.

Kindest regards

Judie

Submitted by support on Sat, 2012-06-16 10:03

Hi Judie,

Yes - very nearly there, just a couple of things.

In your pt/config.php, you need to edit line 6 and change it as follows:

  $config_baseHREF = "/pt/";

Finally, as you have rewrite enabled to use clean URLs, you need to create your .htaccess file. You will find it in the distribution as htaccess.txt (as it is difficult to distribute a filename beginning with "." as it means hidden file on most operating systmes!) so you need to rename that to .htaccess (the easiest way is in the remote window of your FTP program) - but as you have installed Price Tapestry into a sub-directory, it needs to be modified first, very similar to the above but change line 5 as follows:

RewriteBase /pt/

...and you should be up and running...!

Cheers,
David.
--
PriceTapestry.com

Submitted by jajaj on Wed, 2012-06-20 14:26

Hi David

Thanks again!

I had already created the .htaccess file, through my ftp program.

I have now made the additional changes to this file and to the config.php file, as per your instructions.

Success, at last! Thanks for all your patience.

Just a couple of things:

i. £ signs are showing as ?, although I have made the necessary adjustment to the congig.php file and checked that the file has up-dated, through my ftp program.

ii. My web site home page is blank, apart from what I have designed. How do I get the search option to appear? I am a little confused about what to expect!

Kindest regards

Judie

Submitted by support on Wed, 2012-06-20 14:56

Hi Judie,

For the pound sign, it's best to use the HTML entity, e.g.

  $config_currencyHTML = "&pound;";

Regarding your home page, so far you have installed Price Tapestry in the /pt/ subdirectory which is why nothing is currently showing on your home page. If you're now ready to make it your main site; re-upload the files to the top level of your website and then change config.php and remove pt/ from the base HREF setting at line 6 back to:

  $config_baseHREF = "/";

...and finally in your .htaccess, change line 5 back to:

RewriteBase /

Once everythings up and running at the top level (make sure your feeds all still appear in /admin/ etc. and import correctly) finally delete the /pt/ folder to complete the move...

Cheers,
David.
--
PriceTapestry.com

Submitted by jajaj on Sun, 2012-06-24 17:49

Hi David

I have everything running nicely now.

Thanks for all your help.

Kindest regards

Judie