Forums / Templates, Stylesheets, Page Layout / Modify "add to cart" "write a review" "tell a friend"

Modify "add to cart" "write a review" "tell a friend"

Locked

Started by marlake on 13 Apr 2008, 2:20 AM · Views: 7,883

Results 1 to 19 of 19
This thread is locked. New replies are disabled.
13 Apr 2008, 2:20 AM
#1
marlake avatar

marlake

Zen Follower

Join Date:
Mar 2008
Posts:
126
Plugin Contributions:
0

Modify "add to cart" "write a review" "tell a friend"

How can I modify the images of "add to cart" "write a review" "tell a friend about us":

I know I have to create images that will replace the former ones. I can do that. But from where can I change/replace this pictures?:huh:

Thanks,
Marlake

13 Apr 2008, 2:31 AM
#2
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,189
Plugin Contributions:
0

Re: Modify "add to cart" "write a review" "tell a friend"

Marlake:

How can I modify the images of "add to cart" "write a review" "tell a friend about us":

I know I have to create images that will replace the former ones. I can do that. But from where can I change/replace this pictures?:huh:

Thanks,
Marlake

includes/ templates/ templates_default/ buttons/ english

  1. remember the override directory
  2. includes/ templates/ your_template/ buttons/ english
  3. this is where you will upload your new buttons.
  4. This is a site I use for buttons for the whole site.
  5. http://zen-bck.mediakitchen.de
  6. But, this is a global change or only select the buttons you wish to change when saved in a file for upgraded button for web site..

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

13 Apr 2008, 2:48 AM
#3
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,739
Plugin Contributions:
0

Re: Modify "add to cart" "write a review" "tell a friend"

A quick search of the FAQs yielded this - https://www.zen-cart.com/tutorials/index.php?article=51

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

13 Apr 2008, 3:10 AM
#4
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,189
Plugin Contributions:
0

Re: Modify "add to cart" "write a review" "tell a friend"

Thank you Kim,
I forget about the tutorial sometimes and will half to practice the quick links to these pages...:smile:

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

14 Apr 2008, 2:24 AM
#5
marlake avatar

marlake

Zen Follower

Join Date:
Mar 2008
Posts:
126
Plugin Contributions:
0

Re: Modify "add to cart" "write a review" "tell a friend"

Thanks Kim for the information.:smile:

Hi Haredo:
Thank for the information too.:smile: Even when I am going to follow the tutorial and I understand the process I am very interested in the buttons that you mentioned.

I followed the link you gave me and I have some questions for you:

  1. Is there any possible way to get (transfer) the buttons directly from that page (the link you sent me) without any installation of the software?. If that is possible, how do you do that. How do you transfer your selected button to your computer?

If I have to install it (zen-bck version 1.6.4), among the requirements are TrueType fonts and Javascript::huh:

  1. They also tell me I need a TrueType font. I started searching in the web and I am completely confused. There are websites offering 5,000 Truetype fonts or more!
    **What is a TrueType font and could you give me some examples of names of Truetype fonts I should get? **:unsure:

  2. Is there any special Javascript version that you would recommend me to download?

  3. A javascript is not included in XAMPP?. If it is included, in what version of XAMPP?
    Thanks,
    Marlake

14 Apr 2008, 1:48 PM
#6
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,189
Plugin Contributions:
0

Re: Modify "add to cart" "write a review" "tell a friend"

Marlake:

Thanks Kim for the information.:smile:

Hi Haredo:
Thank for the information too.:smile: Even when I am going to follow the tutorial and I understand the process I am very interested in the buttons that you mentioned.

I followed the link you gave me and I have some questions for you:

  1. Is there any possible way to get (transfer) the buttons directly from that page (the link you sent me) without any installation of the software?. If that is possible, how do you do that. How do you transfer your selected button to your computer?

If I have to install it (zen-bck version 1.6.4), among the requirements are TrueType fonts and javascript::huh:

  1. They also tell me I need a TrueType font. I started searching in the web and I am completely confused. There are websites offering 5,000 Truetype fonts or more!
    **What is a TrueType font and could you give me some examples of names of Truetype fonts I should get? **:unsure:

  2. Is there any special Javascript version that you would recommend me to download?

  3. A javascript is not included in XAMPP?. If it is included, in what version of XAMPP?
    Thanks,
    Marlake

Wow, wow, wow.
Question 1:

  1. When you select the criteria for your buttons
    A. Remember, Background color (hex) - #FFFFFF, delete this and leave the field blank, will give you a transparency look
  2. bottom right hand side of page click:
    A. Preview first, then
  3. Create buttons
  4. bottom left hand side
  5. download as zip, click this
  6. save them to your hard drive, and name a new folder
  7. ftp program and upload to
  8. includes / templates/ your_template/ buttons/ english

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

14 Apr 2008, 5:00 PM
#7
marlake avatar

marlake

Zen Follower

Join Date:
Mar 2008
Posts:
126
Plugin Contributions:
0

Re: Modify "add to cart" "write a review" "tell a friend"

Yep, that is all what was needed to do.:oops:
I guess I went too quick to the path for installation when everything was already there.

THanks a lot!. :clap::clap:

Very nice designs!!!

Marlake

14 Apr 2008, 5:09 PM
#8
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,189
Plugin Contributions:
0

Re: Modify "add to cart" "write a review" "tell a friend"

M,
You are most welcome, Hope this makes your site beautiful... :smile:

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

14 Apr 2008, 5:14 PM
#9
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: Modify "add to cart" "write a review" "tell a friend"

haredo:

This is a site I use for buttons for the whole site.
http://zen-bck.mediakitchen.de

A most excellent site for creating buttons. Thanks for sharing. :smile:

The learning is in the doing.

Potent Products

14 Apr 2008, 5:43 PM
#10
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,189
Plugin Contributions:
0

Re: Modify "add to cart" "write a review" "tell a friend"

Website Rob:

A most excellent site for creating buttons. Thanks for sharing. :smile:

Thank you and you are most welcome...

I was working one night about an hour trying to locate a great button builder. And Wa-la..
There was the old girl... :flex:

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

14 Apr 2008, 8:06 PM
#11
marlake avatar

marlake

Zen Follower

Join Date:
Mar 2008
Posts:
126
Plugin Contributions:
0

Re: Modify "add to cart" "write a review" "tell a friend"

Hi Haredo:

I already installed all of the buttons and all of them are working beautifully BUT one. That is the small-delete button. Even when it has the same name as the default, the old button still remain there.
I do not know if this has any logic. could it be possible that the width of the box has anything to do with the problem? (I am talking about the shopping cart box, tbe one that has the words: "**quantity" "item name" Unit" "Total" **

I think that that box is too narrow... Could you tell me from where can I work on the width of that box to make that wider and... could this action be the solution for why that "small-delete" button (delete this item from cart) is not changing? or do you have any other suggestion? :huh:

Thanks,
Marlake

14 Apr 2008, 8:46 PM
#12
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,189
Plugin Contributions:
0

Re: Modify "add to cart" "write a review" "tell a friend"

M,
Post me a link to that page, I will give her a look..

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

14 Apr 2008, 10:58 PM
#13
marlake avatar

marlake

Zen Follower

Join Date:
Mar 2008
Posts:
126
Plugin Contributions:
0

Re: Modify "add to cart" "write a review" "tell a friend"

Hi Haredo:

I installed all of the button. All of them BUT ONE are beautifully installed.
That button is the one that refers to "delete this item from the shopping cart". That image "a trash can" is located in the shopping cart box that has the names "QtY" "item name" "Unit" "total"
I have checked on the files and the button name is "small-delete". Both files (the template _default and my template ) have the same file name. So there is no a problem related to a different name.

Could it be possible that there is lack of enough room to display that new button?.

That lead me to two questions:

How can I make my shopping cart box wider?:unsure:

And if that does not solve the problem on why that button does not show up... do you have any other possible explanation?:huh:

Thanks,
Marlake

14 Apr 2008, 11:21 PM
#14
marlake avatar

marlake

Zen Follower

Join Date:
Mar 2008
Posts:
126
Plugin Contributions:
0

Re: Modify "add to cart" "write a review" "tell a friend"

HI:

I am still under a local domain since I do not have my products already inserted...:(

Hope you can still help me.
THanks,
Marlake

15 Apr 2008, 2:39 AM
#15
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,189
Plugin Contributions:
0

Re: Modify "add to cart" "write a review" "tell a friend"

Marlake:

Hi Haredo:

I installed all of the button. All of them BUT ONE are beautifully installed.
That button is the one that refers to "delete this item from the shopping cart". That image "a trash can" is located in the shopping cart box that has the names "QtY" "item name" "Unit" "total"
I have checked on the files and the button name is "small-delete". Both files (the template _default and my template ) have the same file name. So there is no a problem related to a different name.

Could it be possible that there is lack of enough room to display that new button?.

That lead me to two questions:

How can I make my shopping cart box wider?:unsure:

And if that does not solve the problem on why that button does not show up... do you have any other possible explanation?:huh:

Thanks,
Marlake

M,
I just check my web site, and guess what.

  1. I also have the default delete "trash can, with green arrow"
  2. That image is: small_delete.gif
  3. So create the image you like in photoshop and named it:
  4. The image size is: 24" wide by 32" height and and name her: small_delete.gif
  5. ftp this image to
  6. includes/ templates/ haredo/ images/ icons

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

22 Apr 2008, 8:40 AM
#16
senortim avatar

senortim

New Zenner

Join Date:
Jul 2007
Posts:
75
Plugin Contributions:
0

Re: Modify "add to cart" "write a review" "tell a friend"

BTW, you don't have to make the image in the same dimensions as the default graphic. Smaller icons (e.g., 16x16) are fine. Zen Cart doesn't include width and height in most graphics (in the rendered HTML), probably for precisely this reason -- makes it easy to change graphics!

Tim

22 Apr 2008, 8:43 AM
#17
senortim avatar

senortim

New Zenner

Join Date:
Jul 2007
Posts:
75
Plugin Contributions:
0

Re: Modify "add to cart" "write a review" "tell a friend"

Regarding the "small_delete.gif" icon and Zen Cart 1.3.8a, I noticed what I think is a bug:

In the tpl_shopping_cart_default.php file, the line for button delete should be:

<a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, 'action=remove_product&product_id=' . $product['id']); ?>"><?php echo zen_image_button(ICON_IMAGE_TRASH, ICON_TRASH_ALT); /* changed function to use button directory */?></a>

Using zen_image() seems to cause the cart to point to the wrong template.

Tim

10 May 2008, 10:27 AM
#18
jackyhu avatar

jackyhu

New Zenner

Join Date:
May 2008
Posts:
5
Plugin Contributions:
0

Re: Modify "add to cart" "write a review" "tell a friend"

Hi, Can i put "write a review" "tell a friend" and the "webpage url"
to display on product listing,beside the title of product name?

I do not need the side box,but want this three url to appears
on the product listing page, and also the product info pages.
Any one can be attach the code,thanks!

10 May 2008, 11:05 AM
#19
jackyhu avatar

jackyhu

New Zenner

Join Date:
May 2008
Posts:
5
Plugin Contributions:
0

Re: Modify "add to cart" "write a review" "tell a friend"

On "product listing" page, It is important.
this page will lead customers to view the product info page.
It's helpful to make useful links, icons,or buttones for they easy to browse.
and we just put beside the title of "product name", it will be cool.

But problems for me:

How to put this code in url ?
i need write review url, tell a friend url,and webpage url.
It all use <a></a> code to work.

Below is the sample of **" Product name url" **which displayed on product listing page.and which I would like the other urls works in simila .

Product Name URL:

<a href="' . zen_href_link(zen_get_info_page($listing->fields[. '&products_id=' . $listing->fields['products_id']) . '">' . $listing->fields['pr'products_id']), 'cPath=' . (($_GET['manufacturers_id'] > 0 and $_GET['filter_id']) > 0 ? zen_get_generated_category_path_rev($_GET['filter_id']) : ($_GET['cPath'] > 0 ? zen_get_generated_category_path_rev($_GET['cPath']) : zen_get_generated_category_path_rev($listing->fields['master_categories_id']))) oducts_name'] . '</a>

In order to you can easily to understand my question,
I attach this photo, and hope to meet a help.
thank you for every one here!

Best regards,

Jacky