Jump to content

atomhead

Members
  • Posts

    10
  • Joined

  • Last visited

Everything posted by atomhead

  1. Hacked it. Commented out the following lines to remove sizing through the JS file: // if (i > 0) // { // var thumb_width = $('#thumbs_list_frame >li').width()+parseInt($('#thumbs_list_frame >li').css('marginRight')); // $('#thumbs_list_frame').width((parseInt((thumb_width)* i) + 3) + 'px'); // Bug IE6, needs 3 pixels more ? // } // else Lines 492-497 in product.js. Hopefully this post will save someone else a few hours of time!
  2. It appears the javascript in product.js is putting an in-line style for the width of the frame. I'm playing around with this but I don't really know JS so I don't know what I'm doing, but hopefully I can hack it enough to get it to work how I want it.
  3. Managed to get rid of the scroll bars by editing the if statements in product.tpl. {if isset($images) && count($images) > 3}<a id="view_scroll_right" title="{l s='Other views'}" href="javascript:{ldelim}{rdelim}">{l s='Next'}</a>{/if} and the other one for the scroll left part. I edited the CSS for views_block to remove overflow:hidden. However, now I can't get the overflow to wrap in the div so the items within the thumbs_list frame move to the second line.
  4. Hello all, I am trying to change the display of thumbnails on the product page. I assume I have to change something in product.tpl but I don't know how. I want to remove the scroll bars when there are more than 3 thumbnails and simply move the extra images to the next line. Any help is appreciated,
  5. Hello all, I am trying to customize my product listing for my site similar to the presentation below: http://www.yoogiscloset.com/handbags.html?dir=asc&order=name I want the following fields in my product listing and product pages: 1. Retail Price/Original Price 2. Our Price 3. Sale Price (if it is being additionally reduced, otherwise this field does not display) I do not know how to modify my products to account for these fields or how to get them to display on the product listings. I also want to be able to add other fields like the Condition field but that is not a priority. Any help is appreciated. Thanks,
  6. Hi, I'm trying to customize the header on my site page by adding a bar across the top that will have links. The styles and links were becoming tedious to modify because the login, shopping cart, and search box css and code was all located in different files, so I decided to start with a fresh div in the header.tpl and copy and paste code from modules into the header.tpl directly, to consolidate and make it easier to edit. I created li items for each link and just copied the code from the other modules into the li area. It worked fine for the My Account, Login and Contact Us links. I copied the shopping cart code from the blockuserinfo.tpl file into the header.tpl but it's not working. The shopping cart link is returning the path http://localhost/pre...php?controller= instead of http://localhost/pre...hop/quick-order which is the link for the working cart box. It also isn't showing the ajax dropdown for the cart information I triple checked to make sure I copied the code properly. Here is the code for my new header.tpl: <!-- Header --> <div id="topbar"> <ul id="topnav"> <li> {if $logged} <a href="{$link->getPageLink('my-account', true)}" title="{l s='View my customer account' mod='blockuserinfo'}" class="account" rel="nofollow"><span>Your Account</span></a></li> <li> <a href="{$link->getPageLink('index', true, NULL, "mylogout")}" title="{l s='Log me out' mod='blockuserinfo'}" title="{l s='Log out' mod='blockuserinfo'}" class="logout" rel="nofollow">{l s='Log out' mod='blockuserinfo'}</a> {else} <a href="{$link->getPageLink('my-account', true)}" title="{l s='Login to your customer account' mod='blockuserinfo'}" class="login" rel="nofollow">{l s='Log in' mod='blockuserinfo'}</a> {/if}</li> <li> <a href="{$link->getPageLink('contact', true)}" title="{l s='Contact Us' mod='blockpermanentlinks'}">{l s='Contact us' mod='blockpermanentlinks'}</a> </li> {if !$PS_CATALOG_MODE} <li> <a href="{$link->getPageLink($order_process, true)}" title="{l s='View my shopping cart' mod='blockuserinfo'}" rel="nofollow">{l s='Shopping Bag:' mod='blockuserinfo'} <span class="ajax_cart_quantity{if $cart_qties == 0} hidden{/if}">{$cart_qties}</span> <span class="ajax_cart_product_txt{if $cart_qties != 1} hidden{/if}">{l s='product' mod='blockuserinfo'}</span> <span class="ajax_cart_product_txt_s{if $cart_qties < 2} hidden{/if}">{l s='products' mod='blockuserinfo'}</span> <span class="ajax_cart_total{if $cart_qties == 0} hidden{/if}"> {if $cart_qties > 0} {if $priceDisplay == 1} {assign var='blockuser_cart_flag' value='Cart::BOTH_WITHOUT_SHIPPING'|constant} {convertPrice price=$cart->getOrderTotal(false, $blockuser_cart_flag)} {else} {assign var='blockuser_cart_flag' value='Cart::BOTH_WITHOUT_SHIPPING'|constant} {convertPrice price=$cart->getOrderTotal(true, $blockuser_cart_flag)} {/if} {/if} </span> <span class="ajax_cart_no_product{if $cart_qties > 0} hidden{/if}">{l s='(empty)' mod='blockuserinfo'}</span> </a> </li> {/if} </ul> </div> Any assistance is appreciated, this is really frustrating. I don't understand why the URL isn't working and the ajax dropdown isn't either, if the code is exactly the same.
  7. *bump* Nobody knows how to list a category like this? http://www.yoogiscloset.com/handbags.html?bag_type=clutches&gan_data=true I want to show 1) if an item is on sale, 2) what the original price was, 3) and what my store's price is.
  8. I made some progress on this using the "specific price" section for an item. I deselected the "leave base price" option and applied a $100 discount. On the product page I now had an "old price" and a "new price" and changed the text in the tpl files to show "Retail Price" and "Our Price" and modified the CSS to display how I wanted it. So this seems to work for what I want to do. However, I want to be able to have sale items as well and cannot figure out how to add another field that would say "Sale" and then show a third price. Example of where I am currently at is attached. Maybe if I sleep on it I'll have ideas in the morning...
  9. Hello, I'd like to add a field that will display the "Retail Price", then use the existing "Pre-tax retail price" field to enter "Our price". I am pretty sure I can figure out how to change the wording but I don't know how to add the new field and have it display above the existing price field, on both the product listings and the individual product pages. The display would be: Retail Price: XX.XX Our Price: XX.XX Any help is appreciated! Thanks,
×
×
  • Create New...