Jump to content

bbtil

Member
  • Content Count

    64
  • Joined

  • Last visited

Community Reputation

0 Neutral
  1. bbtil

    Product Image error

    I just looked in images/source/ folder and I don't have Paintball_Guns folder. I'm not sure what to do.
  2. bbtil

    Product Image error

    For some reason there is a broken image link in the product images. I've checked the images attached to the product and they are all intact.
  3. bbtil

    Product Image error

    This is what I'm seeing on some of my products http://shocktechusa.com/images/error.jpg
  4. bbtil

    Product Image error

    Hi, I'm having an issue with this broken image on only some products. Any thoughts? https://shocktechusa.com/autococker-trigger-pants.html
  5. bbtil

    Enlarging Product Image

    sorry should be mican
  6. Hi, I'm looking to make the product images larger. Currently they are the standard size then when you roll over them they magnify. I would like them to be slightly larger to start then the magnification stay the same. I cannot find where to change this in the code.
  7. Nothing changed https://shocktechusa.com/45-grip-grames/gunfighter-1-5.html
  8. That worked thanks! Is there away to move the secondary image inline with the main image horizontally? I attached what it looks like and what i'd like it to look like.
  9. I would have thought the second image would do the same as the main image not just pop up. Also is there away for the thumbnails to run horizontal and vertical?
  10. Ok that helped but this is still kind of weird... https://shocktechusa.com/pneumatics/fgp-barb.html
  11. I added that code and it changed the page but the image still doesn't magnify.
  12. No, where should that go.
  13. There are two images assigned to that product.
  14. https://shocktechusa.com/pneumatics/fgp-barb.html Current content.prod... {if isset($PRODUCT) && $PRODUCT} <h2>{$PRODUCT.name}</h2> <form action="{$VAL_SELF}" method="post" class="addForm"> <div class="image"> <a href="{$PRODUCT.source}" title="{$PRODUCT.name}" rel=""> <img src="{$PRODUCT.large}" alt="{$PRODUCT.name}" align="absmiddle" id="preview" /> </a> </div> <div id="product_detail"> {if $PRODUCT.review_score && $CTRL_REVIEW} <p class="rating"> {for $i = 1; $i <= 5; $i++} {if $PRODUCT.review_score >= $i} <img src="{$STORE_URL}/skins/{$SKIN_FOLDER}/images/common/star.png" alt="" /> {elseif $PRODUCT.review_score > ($i - 1) && $PRODUCT.review_score < $i} <img src="{$STORE_URL}/skins/{$SKIN_FOLDER}/images/common/star_half.png" alt="" /> {else} <img src="{$STORE_URL}/skins/{$SKIN_FOLDER}/images/common/star_off.png" alt="" /> {/if} {/for} {$LANG_REVIEW_INFO}</p> {/if} <p class="price"> {if $PRODUCT.ctrl_sale} <span class="price_previous">{$PRODUCT.price}</span> <span class="price_sale">{$PRODUCT.sale_price}</span> {else} {$PRODUCT.price} {/if} {if isset($PRODUCT.discounts)} <div class="bulk_discount">(<a href="#quantity_discounts">{$LANG.catalogue.bulk_discount}</a>)</div> {/if} </p> <div class="product_description"> {$PRODUCT.description} </div> {if is_array($OPTIONS)} <div class="options"> {foreach from=$OPTIONS item=option} {if $option.type == '0'} <div> <label for="option_{$option.option_id}" class="return">{$option.option_name}{if $option.price} ({$option.symbol}{$option.price}){/if}{if $option.required} *{/if}</label> <span><select name="productOptions[{$option.option_id}]" id="option_{$option.option_id}" class="textbox {if $option.required}required{/if}"> <option value="">{$LANG.form.please_select}</option> {foreach from=$option.values item=value} <option value="{$value.assign_id}">{$value.value_name}{if $value.price} ({$value.symbol}{$value.price}){/if}</option> {/foreach} </select> </span> </div> {else} <div> <label for="option_{$option.option_id}" class="return">{$option.option_name}{if $option.price} ({$option.symbol}{$option.price}){/if}{if $option.required} *{/if}</label> <span> {if $option.type == '1'} <input type="text" name="productOptions[{$option.option_id}][{$option.assign_id}]" id="option_{$option.option_id}" class="textbox {if $option.required}required{/if}" /> {elseif $option.type == '2'} <textarea name="productOptions[{$option.option_id}][{$option.assign_id}]" id="option_{$option.option_id}" class="textbox {if $option.required}required{/if}"></textarea> {/if} </span> </div> {/if} {/foreach} </div> {/if} {if ($CTRL_ALLOW_PURCHASE) && (!$CATALOGUE_MODE)} <p class="buy_button"> <input type="text" name="quantity" value="1" class="quantity required" /> <input type="hidden" name="add" value="{$PRODUCT.product_id}" /> <input type="submit" value="{$LANG.catalogue.buy_now} &raquo;" class="button_default" /> </p> {else} {if $CTRL_HIDE_PRICES} <p class="buy_button"><strong>{$LANG.catalogue.login_to_view}</strong></p> {else if $CTRL_OUT_OF_STOCK} <p class="buy_button"><strong>{$LANG.catalogue.out_of_stock}</strong></p> {/if} {/if} {if $SHARE} {foreach from=$SHARE item=html} {$html} {/foreach} {/if} </div> {if isset($PRODUCT.discounts)} <div id="quantity_discounts"> <h2>{$LANG.catalogue.quantity_discounts}</h2> <p>{$LANG.catalogue.quantity_discounts_explained}</p> <br /> <table class="list"> <tr> <th width="50">{$LANG.common.quantity}</th> <th width="100">{$LANG.catalogue.price_per_unit}</th> </tr> {foreach from=$PRODUCT.discounts item=discount} <tr> <td align="center">{$discount.quantity}+</td> <td align="center">{$discount.price}</td> </tr> {/foreach} </table> </div> {/if} </form> {if $CTRL_REVIEW} <h2>{$LANG.catalogue.customer_reviews}</h2> <div id="reviews"> <div id="review_read"> {if $REVIEWS} <p class="pagination_top"><span class="pagination">{if isset($PAGINATION)}{$PAGINATION}{/if}</span>{$LANG.catalogue.average_rating}: <strong>{$REVIEW_AVERAGE}</strong></p> {foreach from=$REVIEWS item=review} <div class="review"> <h3> <span style="float: right;"> {for $i = 1; $i <= 5; $i++} {if $i <= $review.rating} <img src="{$STORE_URL}/skins/{$SKIN_FOLDER}/images/common/star.png" width="15" height="15" alt="" /> {else} <img src="{$STORE_URL}/skins/{$SKIN_FOLDER}/images/common/star_off.png" width="15" height="15" alt="" /> {/if} {/for} </span> {$review.title} </h3> <p class="content"> <a href="http://gravatar.com/emails/"><img src="http://www.gravatar.com/avatar/{$review.gravatar}?s=50&amp;r=g" /></a>{$review.review} </p> <p class="author"> {$review.name} :: {$review.date} </p> </div> {/foreach} <p class="pagination_bottom"><span class="pagination">{if isset($PAGINATION)}{$PAGINATION}{/if}</span><a href="#" onclick="$('#review_read').slideToggle(); $('#review_write').slideToggle(); return false;">{$LANG.catalogue.write_a_review}</a></p> {else} <div>{$LANG.catalogue.product_not_reviewed} <a href="#" onclick="$('#review_read').slideToggle(); $('#review_write').slideToggle(); return false;">{$LANG.catalogue.write_a_review}</a></div> {/if} </div> <div id="review_write" style="display: none;"> <h3>{$LANG.catalogue.write_review}</h3> <form action="{$VAL_SELF}#reviews_write" method="post"> <fieldset> {if $IS_USER} <div><input type="checkbox" id="rev_anon" name="review[anon]" value="1" /> <label for="rev_anon">{$LANG.catalogue.post_anonymously}</label></div> {else} <div><label for="rev_name">{$LANG.common.name}</label><span><input id="rev_name" type="text" name="review[name]" value="{$WRITE.name}" class="textbox required" /></span></div> <div><label for="rev_email">{$LANG.common.email}</label><span><input id="rev_email" type="text" name="review" value="{$WRITE.email}" class="textbox required" /></span></div> {/if} <span id="review_stars"> {foreach from=$RATING_STARS item=star} <input type="radio" id="rating_{$star.value}" name="rating" value="{$star.value}" class="rating" {$star.checked} /> {/foreach} </span> <div><label for="rev_title" class="inline">{$LANG.catalogue.review_title}</label><span><input id="rev_title" type="text" name="review[title]" value="{$WRITE.title}" class="textbox required" /></span></div> <div><label for="rev_review" class="return">{$LANG.catalogue.review}</label><span><textarea id="rev_review" name="review[review]" class="textbox required" style="height: 70px; width:400px;" rows="10" cols="40">{$WRITE.review}</textarea></span></div> {include file='templates/content.recaptcha.php'} </fieldset> <div> <input type="submit" value="{$LANG.catalogue.submit_review} &raquo;" class="button_default" /> <input type="button" onclick="$('#review_read').slideToggle(); $('#review_write').slideToggle();" value="{$LANG.common.cancel}" class="button_default" /> </div> </form> </div> </div> {/if} {foreach from=$COMMENTS item=html} {$html} {/foreach} {if isset($TALKBACKS) && $TALKBACKS} <div> <h2>{$LANG.catalogue.trackbacks}</h2> {foreach from=$TRACKBACKS item=track} <p> <a href="{$track.url}" target="_blank">{$track.title}</a><br /> <blockquote cite="{$track.url}">&quot;{$track.excerpt}&quot;</blockquote> </p> {/foreach} <h3>{$LANG.catalogue.trackback_url}</h3> <p>{$TRACKBACK_URL}</p> </div> {/if} {else} <p>{$LANG.catalogue.product_doesnt_exist}</p> {/if} {if isset($PRODUCT) && $PRODUCT} <h2>{$PRODUCT.name}</h2> <form action="{$VAL_SELF}" method="post" class="addForm"> <div class="image"> <a href="{$PRODUCT.source}" title="{$PRODUCT.name}" rel=""> <img src="{$PRODUCT.large}" alt="{$PRODUCT.name}" align="absmiddle" id="preview" /> </a> </div> <div id="product_detail"> {if $PRODUCT.review_score && $CTRL_REVIEW} <p class="rating"> {for $i = 1; $i <= 5; $i++} {if $PRODUCT.review_score >= $i} <img src="{$STORE_URL}/skins/{$SKIN_FOLDER}/images/common/star.png" alt="" /> {elseif $PRODUCT.review_score > ($i - 1) && $PRODUCT.review_score < $i} <img src="{$STORE_URL}/skins/{$SKIN_FOLDER}/images/common/star_half.png" alt="" /> {else} <img src="{$STORE_URL}/skins/{$SKIN_FOLDER}/images/common/star_off.png" alt="" /> {/if} {/for} {$LANG_REVIEW_INFO}</p> {/if} <p class="price"> {if $PRODUCT.ctrl_sale} <span class="price_previous">{$PRODUCT.price}</span> <span class="price_sale">{$PRODUCT.sale_price}</span> {else} {$PRODUCT.price} {/if} {if isset($PRODUCT.discounts)} <div class="bulk_discount">(<a href="#quantity_discounts">{$LANG.catalogue.bulk_discount}</a>)</div> {/if} </p> <div class="product_description"> {$PRODUCT.description} </div> {if is_array($OPTIONS)} <div class="options"> {foreach from=$OPTIONS item=option} {if $option.type == '0'} <div> <label for="option_{$option.option_id}" class="return">{$option.option_name}{if $option.price} ({$option.symbol}{$option.price}){/if}{if $option.required} *{/if}</label> <span><select name="productOptions[{$option.option_id}]" id="option_{$option.option_id}" class="textbox {if $option.required}required{/if}"> <option value="">{$LANG.form.please_select}</option> {foreach from=$option.values item=value} <option value="{$value.assign_id}">{$value.value_name}{if $value.price} ({$value.symbol}{$value.price}){/if}</option> {/foreach} </select> </span> </div> {else} <div> <label for="option_{$option.option_id}" class="return">{$option.option_name}{if $option.price} ({$option.symbol}{$option.price}){/if}{if $option.required} *{/if}</label> <span> {if $option.type == '1'} <input type="text" name="productOptions[{$option.option_id}][{$option.assign_id}]" id="option_{$option.option_id}" class="textbox {if $option.required}required{/if}" /> {elseif $option.type == '2'} <textarea name="productOptions[{$option.option_id}][{$option.assign_id}]" id="option_{$option.option_id}" class="textbox {if $option.required}required{/if}"></textarea> {/if} </span> </div> {/if} {/foreach} </div> {/if} {if ($CTRL_ALLOW_PURCHASE) && (!$CATALOGUE_MODE)} <p class="buy_button"> <input type="text" name="quantity" value="1" class="quantity required" /> <input type="hidden" name="add" value="{$PRODUCT.product_id}" /> <input type="submit" value="{$LANG.catalogue.buy_now} &raquo;" class="button_default" /> </p> {else} {if $CTRL_HIDE_PRICES} <p class="buy_button"><strong>{$LANG.catalogue.login_to_view}</strong></p> {else if $CTRL_OUT_OF_STOCK} <p class="buy_button"><strong>{$LANG.catalogue.out_of_stock}</strong></p> {/if} {/if} {if $SHARE} {foreach from=$SHARE item=html} {$html} {/foreach} {/if} </div> {if isset($PRODUCT.discounts)} <div id="quantity_discounts"> <h2>{$LANG.catalogue.quantity_discounts}</h2> <p>{$LANG.catalogue.quantity_discounts_explained}</p> <br /> <table class="list"> <tr> <th width="50">{$LANG.common.quantity}</th> <th width="100">{$LANG.catalogue.price_per_unit}</th> </tr> {foreach from=$PRODUCT.discounts item=discount} <tr> <td align="center">{$discount.quantity}+</td> <td align="center">{$discount.price}</td> </tr> {/foreach} </table> </div> {/if} </form> {if $CTRL_REVIEW} <h2>{$LANG.catalogue.customer_reviews}</h2> <div id="reviews"> <div id="review_read"> {if $REVIEWS} <p class="pagination_top"><span class="pagination">{if isset($PAGINATION)}{$PAGINATION}{/if}</span>{$LANG.catalogue.average_rating}: <strong>{$REVIEW_AVERAGE}</strong></p> {foreach from=$REVIEWS item=review} <div class="review"> <h3> <span style="float: right;"> {for $i = 1; $i <= 5; $i++} {if $i <= $review.rating} <img src="{$STORE_URL}/skins/{$SKIN_FOLDER}/images/common/star.png" width="15" height="15" alt="" /> {else} <img src="{$STORE_URL}/skins/{$SKIN_FOLDER}/images/common/star_off.png" width="15" height="15" alt="" /> {/if} {/for} </span> {$review.title} </h3> <p class="content"> <a href="http://gravatar.com/emails/"><img src="http://www.gravatar.com/avatar/{$review.gravatar}?s=50&amp;r=g" /></a>{$review.review} </p> <p class="author"> {$review.name} :: {$review.date} </p> </div> {/foreach} <p class="pagination_bottom"><span class="pagination">{if isset($PAGINATION)}{$PAGINATION}{/if}</span><a href="#" onclick="$('#review_read').slideToggle(); $('#review_write').slideToggle(); return false;">{$LANG.catalogue.write_a_review}</a></p> {else} <div>{$LANG.catalogue.product_not_reviewed} <a href="#" onclick="$('#review_read').slideToggle(); $('#review_write').slideToggle(); return false;">{$LANG.catalogue.write_a_review}</a></div> {/if} </div> <div id="review_write" style="display: none;"> <h3>{$LANG.catalogue.write_review}</h3> <form action="{$VAL_SELF}#reviews_write" method="post"> <fieldset> {if $IS_USER} <div><input type="checkbox" id="rev_anon" name="review[anon]" value="1" /> <label for="rev_anon">{$LANG.catalogue.post_anonymously}</label></div> {else} <div><label for="rev_name">{$LANG.common.name}</label><span><input id="rev_name" type="text" name="review[name]" value="{$WRITE.name}" class="textbox required" /></span></div> <div><label for="rev_email">{$LANG.common.email}</label><span><input id="rev_email" type="text" name="review[email]" value="{$WRITE.email}" class="textbox required" /></span></div> {/if} <span id="review_stars"> {foreach from=$RATING_STARS item=star} <input type="radio" id="rating_{$star.value}" name="rating" value="{$star.value}" class="rating" {$star.checked} /> {/foreach} </span> <div><label for="rev_title" class="inline">{$LANG.catalogue.review_title}</label><span><input id="rev_title" type="text" name="review[title]" value="{$WRITE.title}" class="textbox required" /></span></div> <div><label for="rev_review" class="return">{$LANG.catalogue.review}</label><span><textarea id="rev_review" name="review[review]" class="textbox required" style="height: 70px; width:400px;" rows="10" cols="40">{$WRITE.review}</textarea></span></div> {include file='templates/content.recaptcha.php'} </fieldset> <div> <input type="submit" value="{$LANG.catalogue.submit_review} &raquo;" class="button_default" /> <input type="button" onclick="$('#review_read').slideToggle(); $('#review_write').slideToggle();" value="{$LANG.common.cancel}" class="button_default" /> </div> </form> </div> </div> {/if} {foreach from=$COMMENTS item=html} {$html} {/foreach} {if isset($TALKBACKS) && $TALKBACKS} <div> <h2>{$LANG.catalogue.trackbacks}</h2> {foreach from=$TRACKBACKS item=track} <p> <a href="{$track.url}" target="_blank">{$track.title}</a><br /> <blockquote cite="{$track.url}">&quot;{$track.excerpt}&quot;</blockquote> </p> {/foreach} <h3>{$LANG.catalogue.trackback_url}</h3> <p>{$TRACKBACK_URL}</p> </div> {/if} {else} <p>{$LANG.catalogue.product_doesnt_exist}</p> {/if}
  15. Ok, I've done everything. Don't see a change. Do you have a link where I can see what it is supposed to look like?
×