Show Posts


Messages - jamesrhenry

Pages: [1]
1
Customization help / Re: Add logo to invoice
« on: June 30, 2019, 04:08:27 PM »
I've been wanting to do the same thing.

I'm altering the file but no matter what I seem to do, the image will just not appear on the invoice. No matter where I add the HTML, it just wont show.

Any other advice that people may be able to give on this one?

While I understand this is a couple years old, I figure this might help someone later.

While the above two are great when it comes to being able to see the invoice as a customer, this does not change the admin's view of the invoice where you'd print it, to which I believe the person I quoted is referring.

For this, you've got to add your image HTML code to the admin section, rather than the storefront section.

The section I'm referring to is located at root/admin/view/default/template/responses/sale/order_invoice.tpl

Root is where you installed the AbanteCart, and you don't have to worry about the template, in most cases. If you did install an Admin template, then the default would refer to that template.

Simply place the image code <img src="IMAGE LINK HERE"> at the top of the code, preferably after the <body> on the page.

Now go open a customer's invoice to print & check out your logo on that page!

2
Idea Polls / Re: AbanteCart Multivendor and Marketplace capabilities
« on: October 23, 2018, 04:37:35 PM »
So almost 5 years ago, you were talking about the multi-vendor/marketplace version of Abantecart. Is there an estimated time since we are now in the 4th quarter of 2018? Thanks!

3
Support / Re: Setting up Jrox JAM Affiliate manager with AbanteCart
« on: June 22, 2018, 02:35:15 PM »
You're very welcome. The forum  got this from was 2 years old & I had some issues at the start, but still testing it. Also thinking about developing an extension for this as well!

4
Support / Re: Setting up Jrox JAM Affiliate manager with AbanteCart
« on: May 29, 2018, 02:57:12 PM »
After testing out various affiliate platform, I decided to test out JROX. Since I'm using AbanteCart for most of my ecommerce shops, I looked up how to integrate JROX with AbanteCart. There aren't modules associated with JROX and most other ecommerce platfoprms, but they do offer code to add to the other platforms.

According to JROX, you place this code in the success.php page of AbanteCart located at /storefront/controller/pages/checkout/success.php

After this piece of code:

if (isset($this->session->data['order_id'])) {

$amount = $this->session->data['used_balance']; // in default currency
if($amount){
$transaction_data = array(
'order_id'=>(int)$this->session->data['order_id'],
'amount' => $amount,
'transaction_type'=>'order',
'created_by' => $this->customer->getId(),
'description' => sprintf($this->language->get('text_applied_balance_to_order'),
$this->currency->format($this->currency->convert($amount,$this->config->get('config_currency'), $this->session->data['currency']),$this->session->data['currency'],1),
(int)$this->session->data['order_id']));
$this->customer->debitTransaction($transaction_data);

You'll enter this piece of code:

file_get_contents('YOURLINKHERE/affiliates/sale/amount/' . $amount . '/trans_id/' . (int)$this->session->data['order_id'] . '/tracking_code/' . $_COOKIE['jamcom']);
}

Don't forget to change YOURLINKHERE with where you installed your copy of JROX Affiliate Manager (JAM).

I hope this help.

Pages: [1]

Powered by SMFPacks Social Login Mod