Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

url product dont show me


aldabu

Recommended Posts

The Product URL is no longer used in 2.3.1. You'll have to modify the code. Search this forum for th instructions -- this has been asked before.

 

Regards

Jim

See my profile for a list of my addons and ways to get support.

Link to comment
Share on other sites

this does the trick

 

Add to catalog/product_info: LINE 210 or there abouts:

 

// PRODUCT URL

echo ('<h3><a target="_blank" href="'.($product_info['products_url']). '">' . TEXT_PRODUCT_MANUFCACTURERS_URL . '</a></h3>');?>

 

 

multilanguage - add to includes/languages/english/product_info.php

 

define('TEXT_PRODUCT_MANUFCACTURERS_URL', 'Visit manufacturers website?');

 

 

 

The only issue im having is that the url adds the sites url before - i have tried trim (php) but this is not the solution - any help? -

Link to comment
Share on other sites

  • 2 years later...

The only issue i m having is that the url adds the sites url before - i have tried trim (php) but this is not the solution - any help? -

 

Add to catalog/product_info: LINE 202:

 

<?php

echo tep_draw_button(IMAGE_BUTTON_REVIEWS . (($reviews['count'] > 0) ? ' (' . $reviews['count'] . ')' : ''), 'comment', tep_href_link(FILENAME_PRODUCT_REVIEWS, tep_get_all_get_params()));?>

 

<a display="block" target="_blank" href=<?php echo $product_info['products_url'];?>>

<button id="tdb7" type="button" class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only ui-priority-secondary" role="button" aria-disabled="false">

<span class="ui-button-text"> <?php echo TEXT_PRODUCT_MANUFCACTURERS_URL;?> </span>

</button>

</a>

 

With red is a button to open the link in a new tab correctly.

Link to comment
Share on other sites

  • 1 year later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...