Jump to content

zeki893

Members
  • Posts

    56
  • Joined

  • Last visited

Contact Methods

Profile Information

  • Location
    california
  • Activity
    Other

zeki893's Achievements

Newbie

Newbie (1/14)

3

Reputation

  1. When I apply a voucher for free shipping in my store, the amount of shipping gets deducted from the original price after giving the customer free shipping. For ex. $25.00 Products $5.00 Shipping After Voucher $20.00 (25-5) Products $0.00 Shipping. How do I fix this? Thank you in advance
  2. I have the same problem running 1.6.0.14. Any fixes out for this? It somehow applying the code even though no code has been entered. I'm gonna submit a bug report
  3. After googling I couldn't find any guide to get this to work. I had to piece together bunch of posts and spent a whole night of trial and error came up with this. In order-confirmation.tpl add to the bottom and fill out your variables from your google adwords <!-- Google Code for Purchase Conversion Page --> <script type="text/javascript"> {literal} /* <![CDATA[ */ {/literal} var google_conversion_id = ENTER_YOUR_ID_HERE; var google_conversion_language = "en"; var google_conversion_format = "2"; var google_conversion_color = "ffffff"; var google_conversion_label = "ENTER_YOUR_LABEL_HERE"; var google_conversion_value = {$total_pay}; var google_conversion_currency = "{$currencyiso}"; var google_remarketing_only = false; {literal}/* ]]>*/ {/literal} </script> <script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js"> </script> <noscript> <div style="display:inline;"> <img height="1" width="1" style="border-style:none;" alt="" src="//www.googleadservices.com/pagead/conversion/ENTER_YOUR_ID_HERE/?value={$total_pay}&currency_code={$currencyiso}&label=ENTER_YOUR_LABEL_HERE&guid=ON&script=0"/> </div> </noscript> in OrderConfirmationController.php add below in initContent function public function initContent() { parent::initContent(); $this->context->smarty->assign(array( 'is_guest' => $this->context->customer->is_guest, 'HOOK_ORDER_CONFIRMATION' => $this->displayOrderConfirmation(), 'HOOK_PAYMENT_RETURN' => $this->displayPaymentReturn() )); $order = new Order($this->id_order); $currency = new Currency($order->id_currency); $this->context->smarty->assign(array( 'total_pay' => $order->getOrdersTotalPaid(), 'currencyiso' => $currency->iso_code )); if ($this->context->customer->is_guest) { to test if this is working I used the google tag assistant chrome extension and made a bunch of orders using bankwire payment method. Good luck....
  4. I'm running the latest version of google analytics module 2.1.1 and was modifying the header.tpl in the module foler to get adwords to work. The adwords code was not loading at all. After many order attempts I checked ganalytics.php. All it does is this: public function hookHeader() { if (Configuration::get('GA_ACCOUNT_ID')) { $this->context->controller->addJs($this->_path.'views/js/GoogleAnalyticActionLib.js'); return $this->_getGoogleAnalyticsTag(); } } What happened to hooking the header.tpl? Why is header.tpl even there if it's not being used. root@www:/usr/share/nginx/html/modules/ganalytics# grep -ri header.tpl root@www:/usr/share/nginx/html/modules/ganalytics# It doesn't return anything Am I understanding something wrong?
  5. Mind sharing how you figured it out? I'm still trying to figure out how to select default country in address.tpl
  6. https://www.prestashop.com/forums/topic/250595-solved-affiliate-tracking-code/page-3 if you check that link quoting vekia below: hope this helps.
  7. How do you know which product has 10% or 5%? Does it belong in a special category or has a unique attribute? Based on that I think you can write something to distinguish between the two percentages.
  8. change it to .block_content { border: 1px solid #ebeced !important; }
  9. there is a cleaner way to do this without using sql public function getProducts($id_lang, $p, $n, $order_by = null, $order_way = null, $get_total = false, $active = true, $random = false, $random_number_products = 1, $check_access = true, Context $context = null) $category = new Category((int)$id, (int)$id_lang); if (Validate::isLoadedObject($category)) { $categories[$item]['id'] = $item; $categories[$item]['name'] = $category -> name; $categories[$item]['products'] = $category -> getProducts($id_lang, 1, ($nb ? $nb : 10), 'date_add','DESC'); if(method_exists('Product','getProductsImgs')) { $image_array=array(); for($i=0;$i<count($categories[$item]['products']);$i++) { if(isset($categories[$item]['products'][$i]['id_product'])) $image_array[$categories[$item]['products'][$i]['id_product']]= Product::getProductsImgs($categories[$item]['products'][$i]['id_product']); } $categories[$item]['productimg'] = (isset($image_array) AND $image_array) ? $image_array : NULL; } }
  10. Are you using fcgi? I've had problems with upload size and time before. Anyhow you should check php.ini for those settings as well. What about owner of the folder? maybe need to change it to www-data?
  11. Hi I want to use authorize.net to accept GBP and my store default is set to GBP, but my authorize.net account is set for USD. The default authorize.net module from prestashop doesn't support it. You need an authorize.net account that's set for GBP. According to https://support.auth...=A412&actp=LIST you can accept foreign currency and it will send the transaction to the card issuer's bank to do the currency conversion to USD. I bought presto-changeo's module and looks like its not supported. I sent in a support request, but I am looking for alternatives if they can't figure it out. Also I can't create an account in GBP because I need a physical location in GB which I do not have. Need this ASAP. Does anybody have a module created for this? TIA
×
×
  • Create New...