Forums / Templates, Stylesheets, Page Layout / change page image link and image only for selected product pages

change page image link and image only for selected product pages

Locked

Views: 4,064

Results 1 to 20 of 21
This thread is locked. New replies are disabled.
26 Jun 2009, 8:10 PM
#1
mpjbay avatar

mpjbay

New Zenner

Join Date:
Jun 2009
Posts:
13
Plugin Contributions:
0

change page image link and image only for selected product pages

i have recently taken over a zen cart and have a question regarding generated product pages.

i have for instance i need to edit this page

http://store.earbid.com/index.php?main_page=product_liquidation_info&cPath=116&products_id=644

i need to change the "make an offer" button to another image that will link to where i need it to link to a form i created.

is there a way to edit this page directly? i can't find it anywhere.

NOTE: i can't change the image globally because i only need it changed for 8 pages for products.

sincerely,

matt :clap:

26 Jun 2009, 8:31 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: change page image link and image only for selected product pages

i need to change the "make an offer" button to another image that will link to where i need it to link to a form i created.
is there a way to edit this page directly? i can't find it anywhere.
With php, pages as you think of them do not exist as they are assembled from many pieces dynamically

The page you posted is not using the global setup as others have the Add to cart image & function

In your admin > tools > developers tool kit (grep tool) > search for the files that have your image for this "offer_button.jpg"

Then you can FTP it to your local and make the image and href alterations required

https://www.zen-cart.com/tutorials/index.php?article=39

Zen-Venom Get Bitten

26 Jun 2009, 8:36 PM
#3
mpjbay avatar

mpjbay

New Zenner

Join Date:
Jun 2009
Posts:
13
Plugin Contributions:
0

Re: change page image link and image only for selected product pages

thank you for the quick reply. i understand what you are saying regarding the php.

i will try this.

so i can make changes to the individual pages? i do not want to make the changed globally since the changes will only be for 8 products.

sincerely,

matt

26 Jun 2009, 8:39 PM
#4
mpjbay avatar

mpjbay

New Zenner

Join Date:
Jun 2009
Posts:
13
Plugin Contributions:
0

Re: change page image link and image only for selected product pages

i did a search using the last bit of the string in the url

products_id=643

in the product url

http://store.earbid.com/index.php?main_page=product_liquidation_info&cPath=116&products_id=643

but yielded no results.

i am a bit confused.

is there a way to edit one page that is generated for a product or do i have to make the changes globally?

26 Jun 2009, 8:40 PM
#5
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: change page image link and image only for selected product pages

so i can make changes to the individual pages? i do not want to make the changed globally since the changes will only be for 8 products.
NO That is not what I stated....

Whom ever set this up made some custom allowance for these pages where the bid is offered versus the add to cart and I assume that there is a alternate "global" setup for this.

Not individual pages though

Zen-Venom Get Bitten

26 Jun 2009, 8:41 PM
#6
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: change page image link and image only for selected product pages

Search for

offer_button.jpg

Zen-Venom Get Bitten

26 Jun 2009, 8:45 PM
#7
mpjbay avatar

mpjbay

New Zenner

Join Date:
Jun 2009
Posts:
13
Plugin Contributions:
0

Re: change page image link and image only for selected product pages

oh i see. my mistake.

i did a search for the button image and found the php page. the problem is that if i change the image it changes globally.

is there a way to create a new "template" (not sure what it would be called in zen cart) and upload the products that will populate with a different button pointing to the custom form we have as well as different information for the "Auctioneer’s Notice"?

http://store.earbid.com/index.php?main_page=product_liquidation_info&cPath=116&products_id=644

26 Jun 2009, 8:46 PM
#8
mpjbay avatar

mpjbay

New Zenner

Join Date:
Jun 2009
Posts:
13
Plugin Contributions:
0

Re: change page image link and image only for selected product pages

or another way to change only the 8 products i need to change for my employer to sell?

26 Jun 2009, 8:52 PM
#9
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: change page image link and image only for selected product pages

i did a search for the button image and found the php page. the problem is that if i change the image it changes globally.
Not standard global!!

http://store.earbid.com/index.php?main_page=product_info&cPath=74&products_id=627
Would be the standard default
Default file is tpl_product_info_display.php

What file did you find the bid image in??

Zen-Venom Get Bitten

26 Jun 2009, 8:57 PM
#10
mpjbay avatar

mpjbay

New Zenner

Join Date:
Jun 2009
Posts:
13
Plugin Contributions:
0

Re: change page image link and image only for selected product pages

ok, i see.

i found the button in

tpl_product_liquidation_info_display.php

in the directory

"store"\includes\templates\template_default\templates

<!--bof Make Offer Box -->

<a href=bidsubmit.htm><img src=images/offer_button.jpg align=right></a>

<!--eof Make Offer Box-->

then there is

<!--bof Auctioneer's Notice -->

<br><br><H2>Auctioneer’s Notice</H2><BR>
This item will be subject to negotiated sale. If you wish to bid on any
of these assets,.... please click on the Make Offer button and complete
the Bid Submission form and click Submit (online) or print out and fax
the form to EARBid Online at 707-542-3993.<br><br>

<H3>Terms and Conditions</H3><br><ul> <li> Preview and Inspection by Appointment Only. Contact Bruce Costello at EARBid to arrange inspection at 707-542-0144 or toll free at 888-327-2430.</li> <li> All items are sold <b>AS IS</b>, <b>WHERE IS</b>, AND <b>WITH ALL FAULTS</b>.</li> <li> A 12% Buyers Premium will apply to each item sold.</li> <li> Applicable taxes will be added to the purchase price and the Buyer’s Premium of all taxable items.</li> <li> Complete Terms & Conditions are contained on our website at www.earbid.com.</li> <li> Please review the <a href=http://store.earbid.com/index.php?main_page=conditions>Terms and Conditions</a> prior to placing bids on any items.</li> </ul> <!--eof Auctioneer's Notice -->

i would like to change in the same php file

i apologize for the lack of formatting with the code snippet. not sure if i can format code on a post...

26 Jun 2009, 9:08 PM
#11
mpjbay avatar

mpjbay

New Zenner

Join Date:
Jun 2009
Posts:
13
Plugin Contributions:
0

Re: change page image link and image only for selected product pages

when i change out the button it changes on all products that lists in the cart.

26 Jun 2009, 9:21 PM
#12
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: change page image link and image only for selected product pages

when i change out the button it changes on all products that lists in the cart.
Not the product that I posted that has the add to cart!!
i have recently taken over a zen cart
You will need to determine how you have products that have the add to cart and others that have the Bid.
It might be that a different "Product Type" was created for them???

https://www.zen-cart.com/tutorials/index.php?article=114

Zen-Venom Get Bitten

26 Jun 2009, 9:30 PM
#13
mpjbay avatar

mpjbay

New Zenner

Join Date:
Jun 2009
Posts:
13
Plugin Contributions:
0

Re: change page image link and image only for selected product pages

You will need to determine how you have products that have the add to cart and others that have the Bid.
It might be that a different "Product Type" was created for them???

i am looking at the spreadsheet that is uploaded.

v_products_model

is set to

Product - Liquidation

can i create a new v_products_model that will "load" a different template to meet my needs?

:clap:

26 Jun 2009, 9:31 PM
#14
mpjbay avatar

mpjbay

New Zenner

Join Date:
Jun 2009
Posts:
13
Plugin Contributions:
0

Re: change page image link and image only for selected product pages

i will read through the link you posted as well.

26 Jun 2009, 9:33 PM
#15
mpjbay avatar

mpjbay

New Zenner

Join Date:
Jun 2009
Posts:
13
Plugin Contributions:
0

Re: change page image link and image only for selected product pages

i am sorry that was

v_products_type

not

v_products_model

26 Jun 2009, 9:35 PM
#16
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: change page image link and image only for selected product pages

can i create a new v_products_model that will "load" a different template to meet my needs?
NO - easy populate indexes on model or v_products_model
Plese take the time to read what I post about...
See what "PRODUCT TYPES" you have and in the admin > catalog > side edit one that is not a bid item and note the field entries and compare those to one that is a bid item

Zen-Venom Get Bitten

26 Jun 2009, 10:00 PM
#17
mpjbay avatar

mpjbay

New Zenner

Join Date:
Jun 2009
Posts:
13
Plugin Contributions:
0

Re: change page image link and image only for selected product pages

so it appears that i need to create a new product type and give the limited products that type.

is there an easy way to do this?

i am reading through the link you sent but it is for v1.2

i am searching for a way to create a new product type in v1.3.7.1 but not having luck.

sincerely,

matt

26 Jun 2009, 10:07 PM
#18
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: change page image link and image only for selected product pages

i am reading through the link you sent but it is for v1.2
Product types have not changed

1.3.7.1!!!!

Best to upgrade

Zen-Venom Get Bitten

26 Jun 2009, 10:28 PM
#19
mpjbay avatar

mpjbay

New Zenner

Join Date:
Jun 2009
Posts:
13
Plugin Contributions:
0

Re: change page image link and image only for selected product pages

it was a good intro to how the product types work but did not instruct on how to create a new product type.

i have been searching on how to do so but have not had luck.

9 Dec 2009, 1:32 AM
#20
wholesalekids avatar

wholesalekids

New Zenner

Join Date:
Dec 2009
Posts:
1
Plugin Contributions:
0

Re: change page image link and image only for selected product pages

hi im not sure if im in the rught part but im trying to do a websit with zencart and on the website it said

Sales Message Goes Here

and i cant get it to go away i have try every thing

im new at doing this so not sure what to do