X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Third Party Add-Ons for X-Cart 4 (https://forum.x-cart.com/forumdisplay.php?f=45)
-   -   "Blog This" Window on Product Page (https://forum.x-cart.com/showthread.php?t=53399)

Ana 04-22-2010 08:54 AM

"Blog This" Window on Product Page
 
Has anybody created an add on yet that would take the product info, page link and thumbnail image loc, place it in html code in a window on the product page which a customer could simply click on, auto-copy and then paste to their blog or some other site?

I could probably write it myself but at the moment I don't have the time. :(

I've seen the social bookmarking add-ons but that's not what I'm aiming for.

Ana

pauldodman 04-22-2010 09:57 AM

Re: "Blog This" Window on Product Page
 
Moving to 3rd party add-ons.

PhilJ 04-22-2010 10:25 AM

Re: "Blog This" Window on Product Page
 
Just keep it simple...
skin1/customer/main/product.tpl
Code:

Blog This:<br />
<textarea rows="5" cols="40" onfocus="this.select()">
<p><a href="product.php?productid={$product.productid}" target="_blank">{include file="product_thumbnail.tpl" productid=$product.image_id image_x=$product.image_x image_y=$product.image_y product=$product.product tmbn_url=$product.image_url id="product_thumbnail" type=$product.image_type}</a></p>
<p><a href="product.php?productid={$product.productid}" target="_blank"><b>{$product.product}</b></a></p>
<p>{if $product.fulldescr eq ""}{$product.descr}{else}{$product.fulldescr}{/if}</p>
</textarea>


Ana 04-22-2010 11:05 AM

Re: "Blog This" Window on Product Page
 
Phil, you are a gem. MUAH!

I like simple!

Ana

AusNetIT 09-07-2010 06:18 PM

Re: "Blog This" Window on Product Page
 
Quote:

Originally Posted by PhilJ
Just keep it simple...
skin1/customer/main/product.tpl
Code:

Blog This:<br />
<textarea rows="5" cols="40" onfocus="this.select()">
<p><a href="product.php?productid={$product.productid}" target="_blank">{include file="product_thumbnail.tpl" productid=$product.image_id image_x=$product.image_x image_y=$product.image_y product=$product.product tmbn_url=$product.image_url id="product_thumbnail" type=$product.image_type}</a></p>
<p><a href="product.php?productid={$product.productid}" target="_blank"><b>{$product.product}</b></a></p>
<p>{if $product.fulldescr eq ""}{$product.descr}{else}{$product.fulldescr}{/if}</p>
</textarea>



Hi,

Where can i find your WP blog mod?

Thanks

Ana 09-07-2010 08:26 PM

Re: "Blog This" Window on Product Page
 
Quote:

Originally Posted by AusNetIT
Hi,

Where can i find your WP blog mod?

Thanks



leatherlustfootwear.com

all of our products have the modified code

I modified it a bit more so if you would like it just let me know, I've seperated it out into it's own module.

Ana


All times are GMT -8. The time now is 09:43 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.