I am unable to get the link to show up on admin end! My client is very irked by it missing. Any ideas?
The file adminhtml/default/default/template/sales/order/view/tab/info.phtml has the following code:
<?php if ($_order->getTracksCollection()->count()) : ?>
<?php echo $this->__('Track Order') ?>
<br/>
<?php endif; ?>
adminhtml/default/your_template_name/template/sales/order/view/tab/info.phtml also has the same code.
I found out that the program formerly written by another programmer was not uploading the tracking numbers from the warehouse to the correct location in admin. It was adding it to the comments but not to the Shipment section. Once I fixed some code in the program to add the tracking numbers, all issues related were solved. Feel free to contact me if you need some help.
Related
I have searched far and wide for this answer on the web, and nobody seems to have an answer. I know that in OpenCart 2.0 you have the ability to add custom fields in the registration process. I have added 3. I see that they are showing up in the Order Details section of an order, but I need them to show up on the printed invoice too. The code that outputs the custom fields in the order_info.tpl is as follows:
<?php foreach ($account_custom_fields as $custom_field) { ?>
<tr>
<td><?php echo $custom_field['name']; ?>:</td>
<td><?php echo $custom_field['value']; ?></td>
</tr>
<?php } ?>
I attempted to just insert that into order_invoice.tpl but I am receiving the error:
Notice: Undefined variable: account_custom_fields in /home/raphaelseventworks.com/www/ncbaorders/admin/view/template/sale/order_invoice.tpl on line 64Warning: Invalid argument supplied for foreach() in /home/raphaelseventworks.com/www/ncbaorders/admin/view/template/sale/order_invoice.tpl on line 64
I don't know enough about OpenCart to know which files make up the order_invoice.tpl. Can someone help me out? I believe one answer I saw to this same question is, "It's difficult." I know it's not a simple process, but if you can point me to the right files, I would greatly appreciate it!
Thanks to nevermind for the hint!
In admin->controller->sale->order.php, I found on line 863 the section for Custom Fields. I copied that whole section into the bottom of public function invoice(). Worked like a dream. Thanks for the help!!
[VQMOD] Add Custom Fields To Order Invoice
https://github.com/kanenas/vqmod-opencart-admin-add-custom-fields-order-invoice
Opencart: v.2.1.0.2
Attention: You have to install [VQMOD] for Opencart ( https://github.com/vqmod/vqmod/releases ) for this to work!
Upload the file knns_admin_add_custom_fields_order_invoice.xml inside the folder /vqmod/xml/.
I have a Wordpress website on which I'm using WooCommerce & WooCommerce Subscriptions Add-on.
The problem is that under My Account page, the "My Subscriptions" field appears above the Welcome message. Please check this screenshot: https://dl.dropboxusercontent.com/u/48854464/Screen%20Shot%202014-10-18%20at%202.11.59%20AM.png
I would like the My Subscriptions field to appear below the welcome message.
I have no clue what to modify.. :(
PS: Using Avada Theme.
Could someone please help me? This is the website in question:
http://www.twistedperfectionism.com/my-account/
Open file /wp-content/themes/avada/woocommerce/myaccount/my-account.php, find these 2 lines in this file:
<?php woocommerce_get_template('user-welcome.php'); ?>
<?php do_action( 'woocommerce_before_my_account' ); ?>
Please check whether they are in same sequence. If not, keep it same as above. do_action( 'woocommerce_before_my_account' ); should be below woocommerce_get_template('user-welcome.php');
I just would like to ask if anyone here is familiar with IWD's Onepage Checkout extension. By default, under the reviews block, it only shows the name of the product, there are no thumbnail images for each product. What I want to do is include a thumbnail in the list of products under review column.
When I tried modifying info.phtml inside /template/opc/onepage/review I found that this echoes all the products under the reviews block.
<?php foreach($this->getItems() as $_item): ?>
<?php echo $this->getItemHtml($_item)?>
<?php endforeach ?>
Now, I can't locate where is the items template that getItemHtml is calling. I tried modifying the default item.phtml under the base theme, but it didn't work.
I hope someone here is familiar with this extension and the location of the items template. :(
OOops. Never mind. I already located it inside base/default/template/checkout/onepage/review/item.phtml
I am using Mazine template demo which is using wp-ecommerce plugin, In my website I have setup left Categories and Brands widgets, What I need is to link some of categories/Brands to link to my own custom URLs instead of opening category page.
Can I do that? Which specific file I need to change to achieve this?
Thanks
At last got the solution,
Just Edit wpsc-category_widget.php file under Mazine folder , and added some conditions to change the link of some of categories.
<?php if($ti_curr_cat['name']=="Category Name"){ ?>
<?php echo $ti_curr_cat['name']; ?>
<?php }else{?>
<?php echo $ti_curr_cat['name']; ?>
<?php }?>
I've been using http://ecommerceshoppingcart4u.com to build an ecommerce site. It only involves a one off payment which is very cheap. The price is £267
I'm quite new to Joomla! as well as PHP.
Currently i'm developing a Joomla! site using Joomla! Version 1.5.14.
I have downloaded and installed VirtueMart 1.1.3 on my site and now i want to edit the registration fields for the VirtueMart Module.
I went to C:\xampp\htdocs\mysite\modules\mod_virtuemart and opened up the mod_virtuemart PHP script.
I only see these codes for the registration part:
<?php endif; ?>
<?php if( $mosConfig_allowUserRegistration == '1' ) : ?>
<tr>
<td colspan="2">
<?php echo $VM_LANG->_('NO_ACCOUNT'); ?>
<a href="<?php $sess->purl( SECUREURL.'index.php?option=com_virtuemart&page=mysite.registration' ); ?>">
<?php echo $VM_LANG->_('CREATE_ACCOUNT'); ?>
</a>
</td>
</tr>
<?php endif; ?>
But i'm unable to find the few lines of codes for the registration fields (For the user to key in).
Examples: Email, company name, title, first name, last name, etc... (with the text boxes beside them)
Hope you get what i mean.
Now i want to add in some more fields for registration, such as 'Position in company', etc..
Can anyone tell me specifically where to find those codes so that i can edit them?
As per my knowledge you should do it from admin panel. Joomla provide custom settings of fields for virtuemart user registration.
You also can refer below link for that.
http://virtuemart.net/documentation/User_Manual/User_Registration_Fields.html
I think this would be helpful to you.
Let me know if anything new you get.
Thanks.