Page 2 of 2 FirstFirst 12
Results 11 to 19 of 19
  1. #11
    Join Date
    Mar 2008
    Posts
    125
    Plugin Contributions
    0

    Default 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?

    Thanks,
    Marlake

  2. #12
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

    Default 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..

  3. #13
    Join Date
    Mar 2008
    Posts
    125
    Plugin Contributions
    0

    Default 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?

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

    Thanks,
    Marlake

  4. #14
    Join Date
    Mar 2008
    Posts
    125
    Plugin Contributions
    0

    Default 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

  5. #15
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

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

    Quote Originally Posted by Marlake View Post
    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?

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

    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

  6. #16
    Join Date
    Jul 2007
    Posts
    74
    Plugin Contributions
    0

    Default 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

  7. #17
    Join Date
    Jul 2007
    Posts
    74
    Plugin Contributions
    0

    Default 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

  8. #18
    Join Date
    May 2008
    Posts
    5
    Plugin Contributions
    0

    Default 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!

  9. #19
    Join Date
    May 2008
    Posts
    5
    Plugin Contributions
    0

    Default 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

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Replies: 2
    Last Post: 11 Feb 2010, 09:13 PM
  2. How to turn off " Tell a Friend " and " Write a Review"?
    By awk_grep in forum General Questions
    Replies: 1
    Last Post: 15 Dec 2009, 11:31 PM
  3. Align "Add to Cart" & "Tell A Friend" on tpl_product_info_display
    By CompuWeb in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 23 Oct 2009, 11:14 PM
  4. Remove "Write a Review" and "Tell a Friend" buttons
    By artcoder in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 21 Apr 2007, 02:33 AM
  5. "write a review" and "tell a friend" on the same side
    By aagraphics in forum General Questions
    Replies: 4
    Last Post: 3 Feb 2007, 09:35 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg