Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Removing Product page

Removing Product page

Locked

Views: 3,039

Results 21 to 27 of 27
This thread is locked. New replies are disabled.
27 Feb 2008, 8:31 PM
#21
motocrazygd avatar

motocrazygd

New Zenner

Join Date:
Feb 2008
Posts:
30
Plugin Contributions:
0

Removing Product page

Hmm... Interesting... I made the changes on a fresh page but still not seeings those add to cart buttons.

Here is where I'm editing: Around line 206

if (($how_many > 0 and $show_submit == true and $listing_split->number_of_rows > 0) and (PRODUCT_LISTING_MULTIPLE_ADD_TO_CART == 1 or PRODUCT_LISTING_MULTIPLE_ADD_TO_CART == 1) ) {
$show_top_submit_button = true;
} else {
$show_top_submit_button = true;
}
if (($how_many > 0 and $show_submit == true and $listing_split->number_of_rows > 0) and (PRODUCT_LISTING_MULTIPLE_ADD_TO_CART >= 1) ) {
$show_bottom_submit_button = true;
} else {
$show_bottom_submit_button = true;
}

28 Feb 2008, 12:38 AM
#22
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Removing Product page

You don't want to edit those lines. The previous code should make the buttons appear correctly, and if it doesn't work, there is some other problem that needs to be addressed.

28 Feb 2008, 1:21 AM
#23
motocrazygd avatar

motocrazygd

New Zenner

Join Date:
Feb 2008
Posts:
30
Plugin Contributions:
0

Re: Removing Product page

Hmm... Maybe I dont have it enabled in the admin. What section is it under?

28 Feb 2008, 1:36 AM
#24
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Removing Product page

Configuration > Product Listing >

Display Product Add to Cart Button (0=off; 1=on; 2=on with Qty Box per Product)

Display Multiple Products Qty Box Status and Set Button Location
0= off
1= Top
2= Bottom
3= Both

Try multiple off (0) and set the regular add button to 2.

The edit you did changing all the "show" flags to true should have forced the multiple add buttons to work no matter what..

28 Feb 2008, 3:36 PM
#25
motocrazygd avatar

motocrazygd

New Zenner

Join Date:
Feb 2008
Posts:
30
Plugin Contributions:
0

Re: Removing Product page

Hmm... the error must be in another file. I'm not sure whats wrong but it must be in another file. What other files build that page?

12 Jul 2008, 11:37 PM
#26
modchipfitters_co_uk avatar

modchipfitters_co_uk

Zen Follower

Join Date:
Sep 2006
Location:
United Kingdom
Posts:
190
Plugin Contributions:
0

Re: Removing Product page

sorry to hijack some elses thread but its along simular lines
i want to remove the product info page but in the product listing page i need to make either some or all of the product description text or image into a link that would link to an external site

what i am doing is building an affiliate site for a customer using zen cart as the bas of the site
take a look here http://www.the-highstreet.org/

so i dont need most of the ecommerce features
im using the poroducts reatures to list the companies that he is advertising on his site so a product is really an advertiser
but what my client does want is for his customers to be able to just click on the product description on the product listing page and a new window open with the advertisers own website there

does that make any sense?

13 Jul 2008, 4:05 PM
#27
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Removing Product page

Answered in your other thread.