Jump to content

Claudia M

Member
  • Posts

    847
  • Joined

  • Last visited

  • Days Won

    13

Posts posted by Claudia M

  1. Hi,

    I just intstalled the USPS shipping module and noticed it is only offering retail rates. Is there anyway to change this so it will only offer the commercial based rates. Also where is the rate option for Parcel Select? Also how do you get it to give the correct rates on an oversized package?

    Thanks in advance!

    Claudia

  2. I just tried to search for " cat figurine " in my store and it  brought up 5 pages of items, most of which have nothing to do with cat figurines.  No new error though.  And never had a error in the error log I created. Except for styling, my content.search is the same as Foundations. Don't know if it makes a difference, but I don't use any of the stock Manufacturer stuff in CubeCart or Foundation.

     

     

  3. What does this mean?  Should I worry? Thanks in advance, Claudia

      File: [catalogue.class.php] Line: [1017] "SELECT SQL_CALC_FOUND_ROWS * FROM `CubeCart_inventory` WHERE `product_id` IN (1510,1556,1557,1543,759,760,593,594,595,599,600,601,604,612,626,629,635,918) AND CubeCart_inventory.status = '1' ORDER BY `custom_sort` ASC LIMIT 24 OFFSET 7.70906906909E+14;" - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '7.70906906909E+14' at line 1
  4. That did it Brian.  Thank you.  Now I think I'll style it a little better. Well, in the morning.

    By the way, you said to edit line 150 in cubecart.css.  I was under the impression that it wasn't a good idea to change any of the .css files that come with Foundation.  I've been putting all my changes to these files in a new (for now working.css) .css file. Is this the correct way?

  5. This is driving me nuts!!  I am redoing the layout of my checkout pages and on content/medium-up I want the word Quantity and the box with the qty in it all on one line.  I can't get it to do it!!

    Here is my code.  The last line I want on a line by itself under the product codeCH-Qty.PNG.f40d738e6eeca5e49562a947639b994e.PNGCH-Qty.PNG.f40d738e6eeca5e49562a947639b994e.PNG:

      <tr>
                <td class="text-center"><a href="{$STORE_URL}/index.php?_a=basket&remove-item={$hash}"><svg class="icon icon-trash-o"><use xlink:href="#icon-trash-o"></use></svg></a></td>
                <td width="90">
                   <a href="{$item.link}" class="th" title="{$item.name}"><img src="{$item.image}" alt="{$item.name}"></a></td>
                   <td colspan="2">
                   <div><a class="txt" href="{$item.link}">{$item.name}</a> {if !empty($item.product_code)} - {$item.product_code}{/if}</div>
                <div class="txt"> Quantity: <input name="quan[{$hash}]" type="quantity" value="{$item.quantity}" maxlength="6" class="quantity checkout" {$QUAN_READ_ONLY}></div>

    Thanks in advance for any and all help,

    Claudia

     

  6. Hi,

    I got this error (warning) in my cPanel error log:

    [10-Oct-2017 14:04:27 America/Louisville] PHP Warning:  Invalid argument supplied for foreach() in /home/claudias/public_html/modules/shipping/All_In_One_Shipping/shipping.class.php on line 46.

     

    Here is the code referenced:

    $this->_item_count = 0;

                   (LINE 46)             foreach ($this->_basket['contents'] as $item) {

                                                 // XXX May want to exclude digital products from the item count, i.e.

                                                 // if ($item['digital']) continue;

                                                 $this->_item_count += $item['quantity'];

                                  }

    Anything to worry about?  If so how do I fix it?

    Thanks in advance,

    Claudia

  7. Just wondering if there is any way to create a database column with a blank "fill out the name as you go".  For example I may need a custom field for a certain item(s) and it would be nice to create the name on an as needed basis.  For example:  Now Item Mfg / Brand   -  add a new one blank column so I can type in, for example, distributor or mfg. location - whatever is need for that product.

    Thanks in advance,

    Claudia

  8. Hey Brian,

    Your code worked great!  Have a question ....  please keep in mind I am not smart in this at all.  I mean at all.  When you say

    Be careful! The parsed code must reference
       * data already assigned to targeted Smarty variables

    Does that mean I have to have a column in the inventory database.  For example if I want to show the manufacturer's line would I create a coulmn called mfg_line (which I have) and have the code something like this?

    {if $PRODUCT.mfg_line}
     <tr>
     <td class="prod-spec-title">{$LANG.products_en.mfg_line}</td>
     <td class="prod-spec-txt">{$PRODUCT.mfg_line}</td>
     </tr>
           {/if}


    I don't use the stock manufacturer that comes with CubeCart.

    I think I answered my own question.  But Brian please reply just in case. I added this to the bottom of a product description

     <table class="nobord bgw">
                   <tbody>
      {if $PRODUCT.product_code}
     <tr>
     <td class="prod-spec-title">{$LANG.products_en.product_code}</td>
     <td class="prod-spec-txt">{$PRODUCT.product_code}</td>
     </tr>
           {/if}

      {if $PRODUCT.item_mfg}
     <tr>
     <td class="prod-spec-title">{$LANG.products_en.item_mfg}</td>
     <td class="prod-spec-txt">{$PRODUCT.item_mfg}</td>
     </tr>
           {/if}
           {if $PRODUCT.mfg_brand}
     <tr>
    <td class="prod-spec-title">{$LANG.products_en.mfg_brand}</td>
     <td class="prod-spec-txt">{$PRODUCT.mfg_brand}</td>
     </tr>
           {/if}
    {if $PRODUCT.mfg_line}
     <tr>
     <td class="prod-spec-title">{$LANG.products_en.mfg_line}</td>
     <td class="prod-spec-txt">{$PRODUCT.mfg_line}</td>
     </tr>
           {/if}
    {if $PRODUCT.mfg_model}
     <tr>
     <td class="prod-spec-title">{$LANG.products_en.mfg_model}</td>
     <td class="prod-spec-txt">{$PRODUCT.mfg_model}</td>
     </tr>
           {/if}

            {if $PRODUCT.stock_level}
     <tr>
     <td class="prod-spec-title">{$LANG.products_en.stock_level}</td>
     <td class="prod-spec-txt">{$PRODUCT.stock_level}</td>
     </tr>
           {/if}
                
                  
     {if $PRODUCT.item_age}
     <tr>
     <td class="prod-spec-title">{$LANG.products_en.item_age}</td>
     <td class="prod-spec-txt">{$PRODUCT.item_age}</td>
     </tr>
           {/if}
    {if $PRODUCT.box_size}
     <tr>
     <td class="prod-spec-title">{$LANG.products_en.item_box_size}</td>
     <td class="prod-spec-txt">{$PRODUCT.box_size}</td>
     </tr>
           {/if}
                  {if $PRODUCT.item_size}
     <tr>
     <td class="prod-spec-title">{$LANG.products_en.item_size}</td>
     <td class="prod-spec-txt">{$PRODUCT.item_size}</td>
     </tr>
           {/if}
                {if $PRODUCT.item_wgt}
     <tr>
     <td class="prod-spec-title-last">{$LANG.products_en.item_actual_wgt}</td>
     <td class="prod-spec-txt-last">{$PRODUCT.item_wgt}</td>
     </tr>
           {/if}

          </tbody>
                </table>


    and got this (with some styling):

    Product Code: THS993
    Item Mfg / Brand: Thomson & Taylor Spice Com
    Stock Level: 1
    Item Age: Vintage
    Item Size: 2-5/8L x 1-1/2W x 5/8H
  9. Thank you so much for sharing.  I have always used something similar in word then copy / paste it to

    the editor.

    <div class="prod-txt">

    Main Description

    </div>

     

    <div class="prod-section-title">Interesting Facts ...</div>

    <div class="prod-spec-txt">

    Some items have fun historical facts

    </div>

     

    Below is the new part I’m adding, catered to each item.

     

    <div class="prod-section-title">Product Specifications ...</div>

    <table class="nobord">

                   <tbody>

           <tr>

     <td class="prod-spec-title">Product Code:</td>

     <td class="prod-spec-txt">PPC119</td>

     </tr>

     <tr>

     <td class="prod-spec-title">Stock Level:</td>

     <td class="prod-spec-txt"><div><a class="prode-txt" href="http://www.ebay.com/itm/havana-gran-hotel-america-brochure/152720008293">Link to eBay listing</a> </div></td>

     </tr>

        <tr>

     <td class="prod-spec-title">Condition:</td>

     <td class="prod-spec-txt">Original</td>

     </tr>

    <tr>

     <td class="prod-spec-title">Age:</td>

     <td class="prod-spec-txt">Vintage - 1926</td>

     </tr>

        <tr>

     <td class="prod-spec-title">Item Size:</td>

     <td class="prod-spec-txt">8-1/2W x 11H </td>

     </tr>

        <tr>

     <td class="prod-spec-title">Actual Weight:</td>

     <td class="prod-spec-txt">0.3 oz.</td>

     </tr>

      </tbody>

      </table>

  10. Thanks for your quick response Brian,

    What needs to be done to parse Smarty syntax in product descriptions? Seems alot of people could use this ability.

    Please forgive my ignorance on this but would each specification have to be added to the database? I'm trying to avoid that.

    Claudia

  11. I’m trying to do away with the tabs (using a very custom Foundation skin) and adding all needed information in the product description. As I sell vintage items that I may only have one of – one and gone -  with numerous manufacturers and brands I need to be able to make my specifications unique for each product. I’m having a problem with the product code and stock level.  I want the stock level and product code to automatically update when the item sells or info changes. Anyway to do this with html since I’m using the editor?  Here’s a sample of what I tried.

     

    <div class="prod-section-title">Product Specifications ...</div>

    <table class="nobord">

                   <tbody>

                                  <tr>

                                                 <td class="prod-spec-title">Product Code:</td>

                                                 <td class="prod-spec-txt">{$PRODUCT.product_code}</td>

                                  </tr>

                                  <tr>

    {if $PRODUCT.stock_level}

                                                 <td class="prod-spec-title">Stock Level</td>

                                                 <td class="prod-spec-txt">{$PRODUCT.stock_level}</td>

                                  {/if}

    </tr> 

     <tr>

     <td class="prod-spec-title">Manufacturer:</td>

     <td class="prod-spec-txt">OBI</td>

     </tr>

    </tbody>

                </table>

     

    But this is what it looks like online – it’s showing the code:

     

    Product Specifications ...

    {if $PRODUCT.stock_level} {/if}

    Product Code:    {$PRODUCT.product_code}

    Stock Level:        {$PRODUCT.stock_level}

    Manufacturer:    OBI

     

    Thanks,

    Claudia

×
×
  • Create New...