Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Editing of links in product_listing.php - Need Advanced Help!


kalkal

Recommended Posts

Posted

I want to change this link which is in product_listing.php (NOT STOCK)

 

<a class="notify" href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action')) . 'action=notify', $request_type) . '">Notify me</a>

 

and outputs something like this

 

www.yoursite.com/your_category-c-22.html?action=notify

 

to something that uses a specific product from the product listing and then attaches "?action=notify" to the end of the url like this

 

<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, ($cPath ? 'cPath=' . $cPath . '&' : '') . 'products_id=' . $listing['products_id']) . '">Notify me</a>

 

I cant figure out how to attach the "?action=notify" to it?

 

Does anyone know how this can be applied?

 

Kurt

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...