Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

function calls to php


metricbikes

Recommended Posts

Posted

Hello All,

 

Can anyone tell me what code calls:

 

product_info.php from index.php

shopping_cart.php from product_info.php

 

I can't seem to discover where each of these are called from within the other file. I am trying to modify code so I can send to a modified product_info.php from index.php and modified shopping_cart.php from product_info.php.

 

Thanks in advance.

 

Steve

Posted

You are looking in the wrong place. Look for this code in application_top.php:

switch ($HTTP_GET_VARS['action'])

 

The block following it handles cart actions.

 

It calls product_info.php when an item has no attributes.

Posted

Thank you for the reply!

 

Is this the same if the product does have attributes? I am not sure about the attributes part. Most of our items have attributes (size,color,etc...)

 

Thanks again.

Steve

 

You are looking in the wrong place. Look for this code in application_top.php:

switch ($HTTP_GET_VARS['action'])

 

The block following it handles cart actions.

 

It calls product_info.php when an item has no attributes.

Archived

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

×
×
  • Create New...