Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Problems when adding fields


edpierre

Recommended Posts

I want to add new fields in a dev site

Follow the instruction of the above threads (moufflon + an adaptation of product_info.php of Lee.

 

At the opening, I get the following:

parse error, unexpected T_ELSEIF in ...admincategories.php on line 532;

line 532 and around:

<?php

} ELSEIF ($HTTP_GET_VARS['action'] == 'new_product_preview'){

if ($HTTP_POST_VARS) {

$pInfo = new objectInfo($HTTP_POST_VARS);

$products_name = $HTTP_POST_VARS['products_name'];

$products_description = $HTTP_POST_VARS['products_description'];

$products_url = $HTTP_POST_VARS['products_url'];

 

The ELSEIF is in the original categories.php and work fine

 

Can someone of help.

 

 

Ed

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...