Jump to content

Claudia M

Member
  • Posts

    847
  • Joined

  • Last visited

  • Days Won

    13

Everything posted by Claudia M

  1. I noticed something funny with an order I received yesterday and wanted to check it out. They paid with PayPal though I don't know if that makes a difference. PayPal transaction went thru smoothly. I made a test purchase of just one and when I look at the product after (frontend) the quantity has not changed. It has in admin - but not storefront. I have to manually go to admin and clear the cache for the correct quantity to show storefront. Thanks for any and all help. My product page is heavily modified. This is the code and how it looks <h4 class="prodprice" style="border-top:1px dotted #C0C0C0;"> {if $PRODUCT.ctrl_sale} <span class="old_price" id="fbp"{if !$CTRL_HIDE_PRICES} data-price="{$PRODUCT.full_base_price}"{/if}>{$PRODUCT.price}</span> <span class="sale_price" id="ptp"{if !$CTRL_HIDE_PRICES} data-price="{$PRODUCT.price_to_pay}"{/if}>{$PRODUCT.sale_price}</span> {else} <span class="ptp" {if !$CTRL_HIDE_PRICES} data-price="{$PRODUCT.price_to_pay}"{/if}>{$PRODUCT.price}</span> {/if} </h4> <div class="small-2 medium-2 columns"> <input type="text" name="quantity" value="1" maxlength="3" class="quantity required text-center" > <input type="hidden" name="add" value="{$PRODUCT.product_id}"> </div> <div class="small-1 medium-1 columns"> &nbsp; </div> <div class="small-9 medium-9 columns"> <!-- <link itemprop="availability" href="http://schema.org/InStock" /> --> <button type="submit" value="Add to Basket" class="button buyprod">Add to Basket</button> </div> {/if} </div> {else} {if $CTRL_HIDE_PRICES} <p class="buy_button"><strong>{$LANG.catalogue.login_to_view}</strong></p> {else if $CTRL_OUT_OF_STOCK} <!-- <link itemprop="availability" href="http://schema.org/OutOfStock" /> --> <div class="medium13 pad-top ">Not available for purchase thru this store </div> {/if} {/if} </div> {if $PRODUCT.stock_level} <div class="row collapse"> <div class="small-12 medium-11 large-11 columns"> <div class="large14 bold pad-top ">{$PRODUCT.stock_level}&nbsp;&nbsp;Available thru this Store</div> </div> <div class="row collapse"> <div class="small-12 medium-12 large-12 columns"> <div class="small12">Place quantity to purchase in the box - up to the available limit</div> </div> </div> </div> {/if}
  2. I made the changes above, wiith a few styling changes, and I put the "Choose Payment Method" on its own line. Everything looks good and is working. Thank you once again Brian you are the Bees Knees!!!!! Claudia
  3. So is this right? Just noticed, no "Checkout Button" on the view basket page {if $INCLUDE_CHECKOUT && !$DISABLE_GATEWAYS} <div class="row pad-left"> <div id="payment_method"> <!-- <a href="?" class="right">{$LANG.basket.continue_shopping}</a> --><h3>{$LANG.gateway.select}</h3> <hr> </div> <div class="row"> <div class="small-6 columns"> <ul class="no-bullet" id="gateway_error"> {foreach from=$GATEWAYS item=gateway} <li> <input name="gateway" type="radio" class="nosubmit" value="{$gateway.folder}" id="{$gateway.folder}" required {$gateway.checked} rel="gateway_error"><label for="{$gateway.folder}">{$gateway.description}</label> {if !empty($gateway.help)} <a href="{$gateway.help}" class="info" title="{$LANG.common.information}"><svg class="icon"><use xlink:href="#icon-info-circle"></use></svg></a> {/if} </li> {/foreach} </ul> {if $DISABLE_CHECKOUT_BUTTON!==true} {if $CHECKOUTS} <div class="row"> <div class="small-12 columns">&nbsp;&nbsp;Pay with Paypal </div> </div> {foreach from=$CHECKOUTS item=checkout} <div class="row thickpad-bottom"> <div class="small-12 columns">{$checkout}</div> </div> {/foreach} {/if} {/if} </div> <div class="small-6 columns marg-top"> {if $DISABLE_CHECKOUT_BUTTON!==true} <button type="submit" name="proceed" id="checkout_proceed" class="button success right g-recaptcha">{$CHECKOUT_BUTTON} <svg class="icon"><use xlink:href="#icon-chevron-right"></use></svg></button> {/if} </div> <div class="hide" id="validate_gateway_required">{$LANG.gateway.choose_payment}</div> </div> </div> {/if} {if $TERMS_CONDITIONS && isset($ALTERNATE_TERMS) && $ALTERNATE_TERMS=='0'} <p class="text-right"><label for="reg_terms">{$LANG.account.register_terms_agree_link|replace:'%s':{$TERMS_CONDITIONS}} <input type="checkbox" id="reg_terms" name="terms_agree" value="1" rel="error_terms_agree"></label></p> {/if} <div class="row pad-side"> <div class="clearfix" id="checkout_actions"> <!-- <div class="show-for-medium-up"><a href="{$STORE_URL}/index.php" class="button left"><svg class="icon"><use xlink:href="#icon-home"></use></svg> {$LANG.basket.continue_shopping}</a></div> --> <div class="show-for-medium-up"><a href="{$STORE_URL}/index.php?_a=basket&empty-basket=true" class="button alert left"><svg class="icon"><use xlink:href="#icon-trash-o"></use></svg> {$LANG.basket.basket_empty}</a></div> <div class="show-for-medium-up"><button type="submit" name="update" class="button secondary left" value="{$LANG.basket.basket_update}"><svg class="icon"><use xlink:href="#icon-refresh"></use></svg> {$LANG.basket.basket_update}</button></div> <div class="show-for-small-only"><button type="submit" name="update" class="button secondary left" value="{$LANG.basket.basket_update}"><svg class="icon"><use xlink:href="#icon-refresh"></use></svg> {$LANG.common.update}</button></div> <!-- {if $DISABLE_CHECKOUT_BUTTON!==true} <button type="submit" name="proceed" id="checkout_proceed" class="button success right g-recaptcha">{$CHECKOUT_BUTTON} <svg class="icon"><use xlink:href="#icon-chevron-right"></use></svg></button> {/if}--> </div> </div> </form>
  4. So is this what it should look like? {if $INCLUDE_CHECKOUT && !$DISABLE_GATEWAYS} <div class="row pad-left"> <div id="payment_method"> <!-- <a href="?" class="right">{$LANG.basket.continue_shopping}</a> --><h3>{$LANG.gateway.select}</h3> <hr> </div> <div class="row"> <div class="small-6 columns"> <ul class="no-bullet" id="gateway_error"> {foreach from=$GATEWAYS item=gateway} <li> <input name="gateway" type="radio" class="nosubmit" value="{$gateway.folder}" id="{$gateway.folder}" required {$gateway.checked} rel="gateway_error"><label for="{$gateway.folder}">{$gateway.description}</label> {if !empty($gateway.help)} <a href="{$gateway.help}" class="info" title="{$LANG.common.information}"><svg class="icon"><use xlink:href="#icon-info-circle"></use></svg></a> {/if} </li> {/foreach} {if $DISABLE_CHECKOUT_BUTTON!==true} {if $CHECKOUTS} <div class="row"> <div class="small-12 columns">-- {$LANG.common.or} --</div> </div> {foreach from=$CHECKOUTS item=checkout} <div class="row"> <div class="small-12 columns">{$checkout}</div> </div> {/foreach} {/if} {/if} </ul> </div> <div class="small-6 columns"> {if $DISABLE_CHECKOUT_BUTTON!==true} <button type="submit" name="proceed" id="checkout_proceed" class="button success right g-recaptcha">{$CHECKOUT_BUTTON} <svg class="icon"><use xlink:href="#icon-chevron-right"></use></svg></button> {/if} </div> <div class="hide" id="validate_gateway_required">{$LANG.gateway.choose_payment}</div> </div> </div> {/if} {if $TERMS_CONDITIONS && isset($ALTERNATE_TERMS) && $ALTERNATE_TERMS=='0'} <p class="text-right"><label for="reg_terms">{$LANG.account.register_terms_agree_link|replace:'%s':{$TERMS_CONDITIONS}} <input type="checkbox" id="reg_terms" name="terms_agree" value="1" rel="error_terms_agree"></label></p> {/if} <div class="row pad-side"> <div class="clearfix" id="checkout_actions"> <!-- <div class="show-for-medium-up"><a href="{$STORE_URL}/index.php" class="button left"><svg class="icon"><use xlink:href="#icon-home"></use></svg> {$LANG.basket.continue_shopping}</a></div> --> <div class="show-for-medium-up"><a href="{$STORE_URL}/index.php?_a=basket&empty-basket=true" class="button alert left"><svg class="icon"><use xlink:href="#icon-trash-o"></use></svg> {$LANG.basket.basket_empty}</a></div> <div class="show-for-medium-up"><button type="submit" name="update" class="button secondary left" value="{$LANG.basket.basket_update}"><svg class="icon"><use xlink:href="#icon-refresh"></use></svg> {$LANG.basket.basket_update}</button></div> <div class="show-for-small-only"><button type="submit" name="update" class="button secondary left" value="{$LANG.basket.basket_update}"><svg class="icon"><use xlink:href="#icon-refresh"></use></svg> {$LANG.common.update}</button></div> <!-- {if $DISABLE_CHECKOUT_BUTTON!==true} <button type="submit" name="proceed" id="checkout_proceed" class="button success right g-recaptcha">{$CHECKOUT_BUTTON} <svg class="icon"><use xlink:href="#icon-chevron-right"></use></svg></button> {/if}--> </div> </div> </form> {if $DISABLE_CHECKOUT_BUTTON!==true} {if $CHECKOUTS} <div class="row"> <div class="small-12 columns text-right">or Pay with Paypal&nbsp;&nbsp; </div> </div> {foreach from=$CHECKOUTS item=checkout} <div class="row"> <div class="small-12 columns text-right">{$checkout}</div> </div> {/foreach} {/if} {/if}
  5. Well maybe I'm not done LOL How would I move the PayPal stuff under the radio button with credit card next to it and move the continue button to the same line as the radio button with credit card. Do you need to see my code?
  6. "Continue Payment" is in the right place if I keep everything in a row, but there is no padding on the sides of the row even when I remove the "right". The Paypal wording and button have the padding - just not the Cuebcart buttons. Oh and products are now showing under "Customers who bought this also bought... Never had them show up before I think I looks like I want now. I added pad-sides to the CubeCart buttons and "Choose Payment Method". Plus commented out the Customers bought stuff. I just don't understand why I had to put them in rows when they are not in rows in Foundation.
  7. I have tried to figure this out for days, even reverting to the stock Foundation checkout templates and I can't figure this out. Why is my "Choose Payment Method" and buttons so far to the left and right? If I put them in a row theneverything is in the right place but there is no side padding / margin for the buttons on the basket or confirm pages. (in case I want to put a border around it on the confirm page). I don't think putting them in a row is ths solution because they aren't in a row in Foundation. And why doesn't my Paypal gateway have a radio button next to it. I'm thinking because if you click the paypal button you go straight to Paypal. Is that right? Thanks for any and all help, Claudia
  8. So would my skin/content/category look like this for the top pagination: {if $PRODUCTS} {if $PAGINATION} <div class="row text-right right"> <div class="small-6 medium-12 large-12 columns show-for-medium-up thinpad-top"> {include file='templates/element.paginate.php'} </div> </div> {/if} {/if} And this at the bottom pagination: {if $PAGINATION} <div class="row"> <div class="small-12 large-9 columns"> {$PAGINATION} </div> </div> {/if} And as for the image not showing - I get on my own nerves so much some times!
  9. My images are showing now. Don't know what I did but they are working now. Hope they keep working
  10. I did the above but still it only shows the alt title. Here's my code. I know the link to the image is good because I tested it in my browser. <p class="black marg-top"><a href="https://www.etsy.com/shop/ClaudiasBargains" target="_blank"><img alt="ClaudiasBargains on Etsy" src="https//www.claudiasbargains.com/skins/cb-streamline/images/icons/etsy-4230.gif" /></a></p> 2. I use the 1 2 3 ....11 View All
  11. I have a couple of inquiries. 1. How can I add an image to the category description without selecting it from the category images tab. I want to be able to code special images into the description. Ex. Listed only on ebay ( ID 268) and Listed only on Etsy (ID 269). If I keep the code for the category images then very very large images show on sub category pages above the sub-cat images and subcat_name. I still want to select the sub-category images from their category images tab. Don't know if this matter but I was using Semper Fi Vertical Navigation Menu. I now have my menu coded directly into the main template and box.canvas.left files without breakdowns for the sub-cats, though in admin there are sub-cats on some categories. Ashtrays and Bottles and Jugs are some examples. 2. I have my pagination at the top and bottom of the category page. If a category only has one page of products the space for pagination still shows. How can this be removed. 3. Does it seem since CC6.4.3 you have to clear the cache more often? Use to be I only had to clear it after I changed images now it seems every little change I make I have to clear the cache. Here's my code: <!-- {if isset($category.image)} <div class="row"> <div class="small-12 medium-12 large-12 columns center marg-top"><img src="{$category.image}" alt="{$category.cat_name}" class="marg-bottom"></div> </div> {/if} --> {if !empty($category.cat_desc)} <div class="row"> <div class="small-12 medium-12 large-12 columns">{$category.cat_desc}</div> </div> {/if} {/if} <div class="title-category">{$category.cat_name}</div> {if isset($SUBCATS) && $SUBCATS} <ul class="small-block-grid-3 medium-block-grid-6 large-block-grid-6 text-center" data-equalizer> {foreach from=$SUBCATS item=subcat} <li data-equalizer-watch> <a href="{$subcat.url}" title="{$subcat.cat_name}"> <img class="th" src="{$subcat.cat_image}" alt="{$subcat.cat_name}"> </a> <br> <div class="cat-prodname"><a href="{$subcat.url}" title="{$subcat.cat_name}">{$subcat.cat_name}</a></div> </li> {/foreach} </ul> <hr> {/if} {if $PRODUCTS} <div class="row text-right right"> <div class="small-6 medium-12 large-12 columns show-for-medium-up thinpad-top"> {include file='templates/element.paginate.php'} </div> </div> {/if} Thanks in advance for any and all help
  12. I want it initially unchecked when adding a new product? I'm very forgetful about checkmarks LOL
  13. How do I uncheck the automatically generate product code in admin/product/ general information. For some reason when I upgraded to 6.4.3 if I put in my own product code it does not take the first time and I have to go back in admin and reenter my product code. Thought it might have something to do with this being checked and I overlooked it. Thanks in advance, Claudia
  14. Will this change the code you gave me if they fix the bug?
  15. Ok thank you Brian ... I'll give this a go ASAP!!!!
  16. So you think this may work to hide the discount rows unless used? Template Code: <!--{if !empty($DATA.discount|filter_var:FILTER_SANITIZE_NUMBER_INT|intval)}--> <tr> <td>&nbsp;</td> <td> Discount:</td> <td> {$DATA.discount}</td> </tr> <!--{/if}--> But it would still show this in the email if discount is not used? Final HTML should $DATA.discount be empty: <!----> <!---->
  17. What would the above look like and would it hide the discount row unless there was a discount?
  18. <!--{foreach from=$TAXES item=tax}--> <tr> <td>&nbsp;</td> <td>{$tax.tax_name}: ({$tax.tax_percent}%)</td> <td>{$tax.tax_amount}</td> </tr> <!--{/foreach}--> Why is this commented out, but still doesn't show the tax fields if there are no taxes
  19. The only time I would use the discount is if I gave a shipping overage discount to an ebay or Etsy customer when I created the order. They do not receive emails thru CubeCart, but I receive the emails, and I like to use the discount field (shipping refund) for my records - it keeps the offsite fees correct. I just don't think it looks very professional to send a CubeCart customer an order confirmation email with discount $0.00. It's like you're saying "hey I give discounts you just aren't gettting one".
  20. I probably did add total.tax. If I made that change I don't remember
  21. I looked at the view source of the email I sent and it does show the discount as $0.00 <tr> <td>&nbsp;</td> <td> Discount:</td> <td> $0.00</td> </tr> I sent another test email this time using CubeCart's stock email, basically. It didn't show the tax field. Here's the code from British Order Confirmation: <!--{foreach from=$TAXES item=tax}--> <tr> <td>&nbsp;</td> <td>{$tax.tax_name}: ({$tax.tax_percent}%)</td> <td>{$tax.tax_amount}</td> </tr> <!--{/foreach}-->
  22. I tried your code with a test order and the admin order received email. The discount and tax fields are still showing. Here's my code. <tr> <td style="font-family: Verdana,arial, helvetica, sans-serif; font-size: 13px; color: #153643; padding-bottom:3px; padding-left:10px;">{if !empty($DATA.discount)}&nbsp;{/if}</td> <td style="font-family: Verdana,arial, helvetica, sans-serif; font-size: 13px; color: #153643; padding-bottom:3px; padding-left:10px;">{if !empty($DATA.discount)} Discount:{/if}</td> <td style="font-family: Verdana,arial, helvetica, sans-serif; font-size: 13px; color: #153643; padding-bottom:3px; padding-left:10px;">{if !empty($DATA.discount)} {$DATA.discount}{/if}</td> </tr> <tr> <td style="font-family: Verdana,arial, helvetica, sans-serif; font-size: 13px; color: #153643; padding-bottom:3px; padding-left:10px;">{if !empty($DATA.total_tax)}&nbsp;{/if}</td> <td style="font-family: Verdana,arial, helvetica, sans-serif; font-size: 13px; color: #153643; padding-bottom:3px; padding-left:10px;">{if !empty($DATA.total_tax)}Tax:{/if}</td> <td style="font-family: Verdana,arial, helvetica, sans-serif; font-size: 13px; color: #153643; padding-bottom:3px; padding-left:10px;">{if !empty($DATA.total_tax)}{/if}</td> </tr>
  23. Thanks Brian .... You know I was going to {if} the whole row but something told me to ask you first. Glad I did!!! Claudia
  24. In the email templates is there any way to only show the discount field if a discount is given? Otherwise the discount field does not show. Thanks in advance for any and all help Claudia
×
×
  • Create New...