Post by maskcomp » Mon Jan 05, 2009 6:22 am

I want to link the image to a URL on the description page instead of showing the full image. Can anyone write the code for that?

New member

Posts

Joined
Mon Jan 05, 2009 5:43 am

Post by Qphoria » Mon Jan 05, 2009 7:21 am

EDIT:
catalog/template/default/content/product.tpl

FIND:

Code: Select all

<div class="a"><a href="<?php echo $popup; ?>" title="<?php echo $heading_title; ?>" class="thickbox"><img src="<?php echo $thumb; ?>" title="<?php echo $heading_title; ?>" alt="<?php echo $heading_title; ?>"></a><br>
REPLACE THE "RED" TEXT WITH YOUR LINK:

Code: Select all

<div class="a"><a href="[color=red]http://www.anothersite.com[/color]" title="<?php echo $heading_title; ?>" class="thickbox"><img src="<?php echo $thumb; ?>" title="<?php echo $heading_title; ?>" alt="<?php echo $heading_title; ?>"></a><br>

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by maskcomp » Mon Jan 05, 2009 8:17 am

Yes that worked....thanks!

However, I'm wanting each image to have it's own URL link. I may be needing some deeper programming to the software. Do you know anyone that can do that for me?

New member

Posts

Joined
Mon Jan 05, 2009 5:43 am

Post by Qphoria » Mon Jan 05, 2009 8:25 am

well how are the links going to be made?
If you are going to have something static like the image name, but at another site, then you could use it. But if you are going to have completely different links per product, then you'd need to add some extra coding.

I could do it for $10

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by maskcomp » Mon Jan 05, 2009 9:01 am

OK... Here's how I would like it to work:

1. In Admin=>Catelog => Products => Data tab, add a field called URL. If a URL is entered then it goes to that URL, if a URL is not entered then it will show the large image.

I would also like you to install some Contributions:

2. Export/ Import
3. Shopper Tracker Report
4. Authorize.net SIM, Google Checkout, and PayPal Improved

Please let me know the fee

New member

Posts

Joined
Mon Jan 05, 2009 5:43 am

Post by Qphoria » Mon Jan 05, 2009 9:47 am

maskcomp wrote: and PayPal Improved
Actually Paypal improved is dead and replaced by "New Paypal" (needs a better name I know, but it will be part of RC6)
So I will install that

It's easy enough.

Please PM me the following needed information:
- temporary opencart admin user account
- temporary ftp account
- temporary cpanel access for phpmyadmin usage

Once completed, any donation of an amount that you think is fair can be given through the link in my signature.
Last edited by Qphoria on Mon Jan 05, 2009 9:52 am, edited 1 time in total.

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by maskcomp » Mon Jan 05, 2009 12:49 pm

Great.... thanks!

-EDIT- Removed private information
Last edited by Qphoria on Mon Jan 05, 2009 7:13 pm, edited 1 time in total.

New member

Posts

Joined
Mon Jan 05, 2009 5:43 am

Post by bruce » Mon Jan 05, 2009 3:22 pm

PM means "Private Message".

You just pulled your pants down to anyone who reads this forum. Better change all your passwords... soon.

Active Member

Posts

Joined
Wed Dec 12, 2007 2:26 pm

Post by Qphoria » Tue Jan 06, 2009 2:37 am

maskcomp wrote: OK... Here's how I would like it to work:

1. In Admin=>Catelog => Products => Data tab, add a field called URL. If a URL is entered then it goes to that URL, if a URL is not entered then it will show the large image.

I would also like you to install some Contributions:

2. Export/ Import
3. Shopper Tracker Report
4. Authorize.net SIM, Google Checkout, and PayPal Improved New Paypal

Please let me know the fee
Ok. You are all set.
- Installed all the contribs you wanted except Google Checkout, as I think JNeuhoff is rewriting that to better fit with Google's Terms of Service.
- Added new field called "image_link" on the product->data tab
--- If left null, the image link opens a larger image
--- If set to a website, the image links to the site.
- I also updated you to the latest SVN version, it will likely be 0.7.9 RC6, which has supporting files for the new paypal and some bug fixes. I renamed your old template "default" to "webdesign". You should never edit the default template, always make a new one and make changes to that one to avoid overwriting the folder when upgrading. You can select the new template in the admin->configuration->setting->shop tab

Please donate an amount that you think is fair for the work done by clicking on the link in my signature.
Thanks!
Last edited by Qphoria on Tue Jan 06, 2009 2:41 am, edited 1 time in total.

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by maskcomp » Tue Jan 06, 2009 3:07 am

THANKS!

New member

Posts

Joined
Mon Jan 05, 2009 5:43 am

Post by Qphoria » Tue Jan 06, 2009 3:16 am

And thank you kindly for your donation :)
Enjoy, and let me know if there are any problems.

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am
Who is online

Users browsing this forum: No registered users and 5 guests