Jump to content

palex71

Member
  • Posts

    33
  • Joined

  • Last visited

Posts posted by palex71

  1. I don't quite see where the Use Stock Level is actually set.  Here is the code:
     
     
                                    if ((bool)$product['use_stock_level']) {
                                            // Get Stock Level
                                            $stock_level = $this->getProductStock($product['product_id']);
     
                                            if((bool)$GLOBALS['config']->get('config', 'stock_level')) {
                                                    $product['stock_level'] = ($stock_level>0) ? $stock_level : 0;
                                            } else {
                                                    $product['stock_level'] = false;
                                            }
     
     
                                            if ((int)$stock_level <= 0) {
                                                    // Out of Stock
                                                    if (!$GLOBALS['config']->get('config', 'basket_out_of_stock_purchase')) {
                                                            // Not Allowed
                                                            $allow_purchase = false;
                                                            $out = true;
                                                    }
                                            }
                                    }
  2. Thanks... this is still stumping me.  In the attached image, I am essentially trying to move down the horizontal line below the image of the book (due to the title wrapping to two lines).  The relevant code is below, but I have tried adding breaks at various points with no luck.  Any thoughts?

    Thanks!

    _________________

     

     

     

     

    {if isset($PRODUCTS)}
      {foreach from=$PRODUCTS item=product}
    <form action="{$VAL_SELF}" method="post" enctype="application/x-www-form-urlencoded" class="addForm">
      <div class="category_product">
            <h3><a href="{$product.url}" title="{$product.name}">{$product.name}</a></h3>
            <a href="{$product.url}" title="{$product.name}" class="image">
              <img src="http://www0.alibris-static.com/isbn/{$product.product_code}.gif" width="138" height="138" alt="{$product.name}" />
            </a>
            <div class="details">
            {if $product.ctrl_sale}
              <p class="price"><span class="price_previous">{$product.price}</span> <span class="price_sale">{$product.sale_price}</span></p>
            {else}
              <p class="price">{$product.price}</p>
            {/if}
     
            {if $product.review_score}
              <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}
              </p>
              <p class="rating-info">{$LANG_REVIEW_INFO}</p>
            {/if}
     
            {if $product.ctrl_purchase && !$CATALOGUE_MODE}
              <p class="buy_button"><input type="text" name="add[{$product.product_id}][quantity]" value="1" class="quantity" /> <input type="submit" value="{$LANG.catalogue.add_to_basket}" class="button_white" /></p>
            {elseif $product.out}
              <p class="buy_button">{$LANG.catalogue.out_of_stock_short}</p>
            {/if}
            </div>
            <p class="description">{$product.description_short}</p>
      </div>
      </form>

     

  3. Ah, ok... thanks, bsmither.

    I added that line to the the Order Complete template, and I am still getting the freezing issue when I mark the order as complete and click 'save'.  Would it possibly not be recognizing the new .php tag?  There is a tracking number specified within the Courier Tracking Code under the order information.

     

    Thanks again.

  4. Thanks.  This is what I am seeing.  From within the control panel:

     

    File Manager --> Email Templates

     

    Under the Email Contents tab, I can see the Cart: Order Complete listing, although there is no way to edit it.

    Under the Email Templates tab, I can see and edit the Default Emails template (under the HTML Content tab).  If I try to add that line within the code, CubeCart freezes when I try to mark an order complete.  I also cannot locate where in the directory structure these php tags are defined (I would also like to modify the email content).  

     

    Thanks again!

  5. Which is the email template?  Is it content.reciept.php?  Here is what I see:

     

     

          {if $DELIVERY}
                    <h2>{$LANG.common.delivery}</h2>
                    {if !empty($DELIVERY.date)}<p>{$LANG.orders.shipping_date}: {$DELIVERY.date}</p>{/if}
                    {if isset($DELIVERY.url)}
                            <p>{$LANG.basket.track}: <a href="{$DELIVERY.url}" target="_blank">{$DELIVERY.method}</a></p>
                    {else}
                            <p>{$DELIVERY.method} - {$LANG.orders.shipping_tracking}: {$DELIVERY.tracking}
                    {/if}
            {/if}
     
     
     

    Should the suggested line go within this section?  Also, in the control panel under orders --> delivery, there is the corresponding field to input the tracking information?  Does this automatically get sent to the customer when it is saved?

     

    Thanks!

  6. Hello,

    I have just used a copyright removal key.  I have noticed that the "Powered by CubeCart" has disappeared from the title bar. However, what now remains is "Welcome to store.com! - store"  I want it to only say "Welcome to store.com!".  In the edit document section of the control panel, this what appears in the title field.  How can get rid of "- store" ?

     

    Thanks!

     

     

  7. I have Authorize and PayPal enabled. During checkout, the customer selects must choose between "Authorize" or "PayPal". However, it is ambiguous that "Authorize" pertains to a credit/debit card purchase. Is there a way to indicate this? For example change "Authorize" to "Credit/Debit Card" or something similar?

    Thanks!

  8. I have been uploading inventory feeds via the following:

    Import Catalogue --> Choose File

    When I do this there is a pause and then the example data is shown with a confirmation page. I then confirm and the processing begins. I am wondering if the file is completely uploaded during that pause (it seems a bit quick). During processing, the half "blue bar" appears in the URL field of the browser (i.e. processing). Does the page need to remain open during this time?

    Is there any alternative way to process the file? Upload via ftp and the initiate processing by another means, for example?

    I will eventually need to process very large feeds which most likely will have to run overnight, so I want to get a better sense of how everything is set up with CubeCart in this respect.

    Thanks!

×
×
  • Create New...