Jump to content

convict

Member
  • Posts

    1,302
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by convict

  1. White space there - Home Page link image. Hmm complicated structure, too much divs. Enclose Homepage to UL, LI too, use only ONE UL for all cats, homepage LIs and why div for every category name? Just enclose entire code to one <div class="cssnav"> thats up to u :)
  2. The Problem is the IE bug - peekabo bug add position: relative; to txtContentTitle class :)
  3. convict

    Clix Galore

    This is the same case as iDevAffiliate. Generally 1) AFFILIATE MODULES DOESNT WORKS IF GATEWAY RESULT CODE = FALSE (not equal SUCCESS) - payment is false 2) AFFILIATE MODULES DOESNT WORKS PROPERLY IF GATEWAY $stateUpdate = FALSE. Print Form $stateUpdate = FALSE (Since 3.0.8 Affiliate code was added to Print Form code but doesnt work properly - Fix is below..) Pay Pal IPN $stateUpdate = FALSE (PayPal Standard works because $stateUpdate = TRUE) This is not so simple situation. Affiliate tracking must be shown in customer browser page (reliable Affiliate co. does this so only). By PayPal IPN order status is changed regardless customer does return to your store but Affiliate module doesnt works properly (some neccessary variables are NOT defined because its defined/erased (order Id and entire basket content) in routine for order status changing and confirmation email generation. This routine is called in call back url for PayPal - IPN and this is quite another process as customer has). Wit PayPal IPN the affiliate routine never run with proper variables (variables like order id and amount are empty) By PayPal Standard customer MUST return to your store - order status depends to page parameters going with return parameters and Affiliate Modules work properly if order payment is success. IF customer does not return to your store PayPal payment process is done - no order status change, no affiliate routine is running. ADDED LATER I have noticed that Affiliate code was added to Print Order Gateway in CC3.0.8 however doesnt work properly. 1) Basket session data are cleared just before Affiliate code => Order Id is empty 2) For some reason $order[0]['prod_total'] = $result[0]['prod_total']; doesnt work in first cycle ($i=0) Use this code: $print_order_form->parse("order_form"); $print_order_form->out("order_form"); // add affilate tracking code/module $affiliateModule = $db->select("SELECT folder, `default` FROM ".$glob['dbprefix']."CubeCart_Modules WHERE module='affiliate' AND status = 1"); if($affiliateModule == TRUE) { $order[0]['prod_total'] = $result[0]['prod_total']; for($i=0; $i<count($affiliateModule); $i++){ include("../../../modules/affiliate/".$affiliateModule[$i]['folder']."/tracker.inc.php"); echo $affCode; } } // empty basket $basket = $cart->emptyCart(); instead of this // empty basket $basket = $cart->emptyCart(); $print_order_form->parse("order_form"); $print_order_form->out("order_form"); // add affilate tracking code/module $affiliateModule = $db->select("SELECT folder, `default` FROM ".$glob['dbprefix']."CubeCart_Modules WHERE module='affiliate' AND status = 1"); if($affiliateModule == TRUE) { for($i=0; $i<count($affiliateModule); $i++){ include("../../../modules/affiliate/".$affiliateModule[$i]['folder']."/tracker.inc.php"); // VARS AVAILABLE // Order Id Number $basket['cart_order_id'] // Order Total $order[0]['prod_total'] //$basket['cart_order_id'] = $_POST['x_invoice_num']; $order[0]['prod_total'] = $result[0]['prod_total']; echo $affCode; } }
  4. Site looks great however page dimension is a 'step back' - width 600px only? CubeCarts two basic skins meet last years web standard page dimension :huh:
  5. Ohh i see the last meanigful sentence of first topic post now :huh:
  6. Since 3.0.6 no database upgrade is needed -> you really dont need a database backup. If you use an unmodified files, the simplest way is to: Upload every file from the upload folder in the package to the server replacing your existing ones excluding: includes/global.inc.php install/ language/*/home.inc.php (If you have made changes.) If you use modified files you have to use changelog in 3.0.9 package and 3.0.10 package to change existing 3.0.8 files.
  7. vrakas & MarkCarts gave you great tips, however the simplest way is to use UNLICENSED CubeCart code, just add following code before </body> in: skins/<your skin name>/styleTemplates/content/global/index.tpl <div class='txtCopyright'>Copyright YOUR SITE/NAME</div> Replace YOUR SITE/NAME with your own desidered text :huh:
  8. You are on the good way All text like {LANG_NEWBOX_TITLE} is a 'simple' template assignation and does not matter what the hell is assigned to this so called template variable - you are able assign any php result (HTML code) Do not be confused wit BOXes - BOX content is a HTML result made in included php file. Only you need is to understand how whole parsing works - just read this post
  9. Yes it redirects to step 4, ok will edit my previous post rather. This wants more as this :w00t:
  10. In the same file... -]deleted[-
  11. Simple hack Show Tax in Shopping Cart if user is NOT logged in Open includes/content/cart.inc.php Search for: $taxCustomer = 0; Change to: $taxCustomer = 1; Be aware this simple hack show Country NOT County tax for anonymous customer :w00t:
  12. @saturnnights I see you solved banner issue. Welcome to the World of CubeCart modifications. :w00t:
  13. Use PayPal IPN and Order status remains in Pending status until check is cleared Every payment on PayPal has own payment identification and saves IPN URL wich is 'called' if payment is successful. Payments by check are cleared after 4-5 days.
  14. Sure, just write your own lang file with your specific array items-values and merge it (array_merge) to existing one You wont have any issues with any upgrade.
  15. You shouldnt wait on upgrade, only you need is parse YOUR $phpAds_raw['html'] to a template 'variable'. It could be a global index.tpl. You have to manage a good place - header content usually Example: <?php if (@include(getenv('DOCUMENT_ROOT').'/phpadsnew/phpadsnew.inc.php')) { if (!isset($phpAds_context)) $phpAds_context = array(); $phpAds_raw = view_raw ('zone:1', 0, '', '', '0', $phpAds_context); $body->assign("BANNER", $phpAds_raw['html']); } ?> Add code above just after $body = new XTemplate ("skins/".$config['skinDir']."/styleTemplates/global/index.tpl"); in index.php (cart.php) Then you have to find right place in header area in your global template index.tpl, {cart.tpl) (skins/{your skin}/styleTemplates/global/index.tpl) for your {BANNER} template variable.
  16. Easy and clean solution: skins/{your skin}/styleTemplates/global/index.tpl Search for: <title>{META_TITLE}</title> Add after: Red marked - Redirect Delay in seconds (0 = redirect immediately) Blue marked - Redirection URL (your home page here etc.) Final code around new one looks like this: includes/content/logout.inc.php Add code below: Final code around new one looks like: ;) $body->parse("body.redirect"); After this: $logout->assign("LANG_LOGOUT_STATUS",$lang['front']['logout']['session_destroyed']); and this code: $logout->assign("LANG_LOGOUT_STATUS",$lang['front']['logout']['no_session']);
  17. Built-in feature will be available in v3.1.0.
  18. Everything is in template files and CSS files. Legend style Shop by category example: skins/Legend/styleTemplates/boxes/categories.tpl Red marked is the BOX header and this is the BOX name area. All you need is add a <img> HTML TAG here and/or play little bit with styles for this area. Have look to appropriate skins/Legend/styleSheets/layout.css search for class boxTitleLeft .boxTitleLeft, .boxTitleRight { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 70%; color: #09347C; background-image: url(../styleImages/backgrounds/boxTitleBg.gif); width: 155px; height: 15px; padding-left: 5px; padding-top: 1px; } You have to manage both file, box styles are common for another boxes or create unique style for your images header If you want to use this feature as multilanguage option this is little bit more complicated but doable.
  19. Ooops sorry bad name . I had to edit my last post. Template file is the right one: skins/Killer/styleTemplates/content/viewProd.tpl
  20. Make new Site Document or new html file then add link to this document in skins/{YOUR SKIN}/styleTemplates/boxes/categories.tpl file
  21. Use table with two colum or two DIVs with style property float: left in viewProd.tpl TABLE: DIvs code is almost the same.
  22. Yep, you are right. Column title in table inventory does not exist and i have searched in all previos CCv3 since db schema is in install package. Never been there. As far as i know NO item is associated with this non existing column.
×
×
  • Create New...