Jump to content

convict

Member
  • Posts

    1,302
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by convict

  1. When I sell a digital download through PayPal I have to have IPN enabled in order for the buyer to be directed automatically to the download after making the payment?

    You are wrong. Gateway settings are digital product download independet. You may use any gateway, digital download link is sent via e-mail.

  2. Alan yes this is my best sellers SQL query, Best order placed prods:

    $popularProds = $db->select("SELECT ".$glob['dbprefix']."CubeCart_inventory.productId, ".$glob['dbprefix']."CubeCart_inventory.productCode, ".$glob['dbprefix']."CubeCart_inventory.name, sum(".$glob['dbprefix']."CubeCart_order_inv.quantity) as pCount FROM ".$glob['dbprefix']."CubeCart_inventory LEFT JOIN ".$glob['dbprefix']."CubeCart_order_inv ON ".$glob['dbprefix']."CubeCart_inventory.productId = ".$glob['dbprefix']."CubeCart_order_inv.productId GROUP BY productId ORDER BY pCount DESC LIMIT " . $config['noPopularBoxItems']);

    Never tested i guess it works.

  3. You have to assign a content to template variable (you called it XML) in appropriate php file. Temlate is a parsed html document that means template variable could be a cluster of any html, javasript, flash.....but the main ground of variables is a variable content.

    Every template can have a sections which are parsed separately/repeately - thats the advantage and thats the second main reason of templating system to use dynamic content for the same html code. The first is an independent html content written outside of php code. So if you want to assign something you should be sure what and where to assign. Global index.tpl uses variable templates. Content of global variable templates is generated by another template having own template variables thats the general matter. PHP code is the brain.

    There doesnt exist any problem to write your javascript code to a right place (categories.tpl) manually just try it as a first.

×
×
  • Create New...