Re: Re: Re: Re: Re: Ubercart - Adding Products and Catalog Vacab

bendiy's picture
Offline
Joined: 09/07/2007
Juice: 75
Re: Re: Re: Re: Re: Ubercart - Adding Products and Catalog Vacab

I searched through all of the files in the Ubercart 5.x-1.0-alpha7e module and found these entries that I changed. It works now and shows the catalog on "/products". I also have a products link in the menu that goes to "/products-all".

What is the proper way to make these changes below? Should I edit the module as is did, or make an override somewhere? Do you know of any others that I should change? Do I need to change the "field_image_cache" entries below?

uc_products.module
Line 27 From:
'path' => 'products',
To:
'path' => 'products-all',
Line 1005 From:
$view->url = 'products';
To:
$view->url = 'products-all';
Line 1424 From:
'nodepl' => 'products',
To:
'nodepl' => 'products-all',
Should I change this line 169?
$items[] = array('path' => 'products/field_image_cache/'. arg(2),
Should I change this line 845?
if (is_array($node->products)){
Should I change this line 846?
foreach($node->products as $nid => $product){

uc_products.js
Line 10 From:
'nodepl': "products",
To:
'nodepl': "products-all",
Should I change this line 23?
$.post(Drupal.settings['base_path'] + 'products/field_image_cache/' + this.value, {}, function(contents){

uc_catalog.module
Line 449 From:
'nodepl' => 'products',
To:
'nodepl' => 'products-all',

Ubercart deployment strategy for site redesign By: bendiy (21 replies) Fri, 09/07/2007 - 17:12