I asked my web developers to add some extensions onto my site and they are saying because Im not on the latest software its going to cost £550 to upgrade the settings to upgrade so that they can then add the extensions. I just wanted to check on this Im currently on v1.4.9.5 and i need upgrading to v1.5
Is this correct?
Good Luck
Ernie
ipc.li/shop/
My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
Surely open cart can't upgrade the software and force people to have there website rebuilt to be on the latest version.
Ernie
My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
So I can install extensions on a 1.4.9.5 system that only work on v1.5 without upgrading? How do I match the Mods? Sorry any chance of elaborating.

Thanks
1. For a VqMod, this is the PATH and FILE, where it all happens:
Code: Select all
<file name="catalog/view/theme/default/template/module/latest.tpl">
2. This is the ANCHOR-CONTENT, used by the VqMod:
<search position="replace"><![CDATA[
Code: Select all
<a href="<?php echo $product['href']; ?>"><?php echo $product['name']; ?></a>
3. Above is the INSTRUCTION on what to do with the above mentioned ANCHOR CONTENT, (could be ADD (to) AFTER, BEFORE (the ANCHOR CONTENT), or then REPLACE (it)! ) in this case, REPLACING the Line above WITH something, namely the content mentioned below:
<add><![CDATA[
Code: Select all
<?php if($this->customer->isLogged()){ ?><a href="<?php echo $product['href']; ?>"><?php echo $product['name']; ?></a><?php }else{ ?><?php echo $product['name']; ?><p>Login to see Price!</p><?php } ?>
telling a visitor to log in first before beeing able to add a Product to the Shopping Cart, from the LATEST ITEMS Section.
</operation>
</file>
That's it.
What it does is, replacing :
Code: Select all
<?php echo $product['href']; ?>"><?php echo $product['name']; ?></a>
Code: Select all
<?php if($this->customer->isLogged()){ ?><a href="<?php echo $product['href']; ?>"><?php echo $product['name']; ?></a><?php }else{ ?><?php echo $product['name']; ?><p>Login to see Price!</p><?php } ?>
Depending on the OC-Version used, or then, depending on (former) Modifications, possibly made manually in a source file, a Line like this:
Code: Select all
<?php echo $product['href']; ?>"><?php echo $product['name']; ?></a>
Code: Select all
<?php echo $product['href']; ?>"> <?php echo $product['name']; ?></a>
<?php echo $product['href']; ?>"><?php echo $product['name']; ?> </a>
<?php echo $product['href']; ?>"><?php echo $product['name']; ?></a>
Code: Select all
[CDATA[here
and
here]]>
As you see, it may not be quite as easy as it sounds, because, someone has to KNOW, what those Lines MEAN, in order to implement a VqMod into an older Setup, therefore, if one does not know anything about 'Code', it cannot be done. And if it comes the DB-related VqMod Changes, it can get worse, because not all OC-Version DB's are the same. More, in newer Versions, some VARIABLES/Routines (i.E. <?php if($this->customer->isLogged) may be used, not existing (in exactly the same way of writing), in older OC-Software. Just to mention it as well.
Good Luck
Ernie
PS. This is the VQMOD-Source, used to explain the above, in FULL:
Code: Select all
<modification>
<id>Add to cart login alert</id>
<version>1.5.2.1</version>
<vqmver>1.0</vqmver>
<author>variuxdavid</author>
<file name="catalog/view/theme/default/template/module/latest.tpl">
<operation>
<search position="replace"><![CDATA[
<a href="<?php echo $product['href']; ?>"><?php echo $product['name']; ?></a>
]]></search>
<add><![CDATA[
<?php if($this->customer->isLogged()){ ?><a href="<?php echo $product['href']; ?>"><?php echo $product['name']; ?></a><?php }else{ ?><?php echo $product['name']; ?><p>Login to see Price!</p><?php } ?>
]]></add>
</operation>
</file>
</modification>
My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
Some OpenCart site upgrades can be easier than others. It depends on the age of your version, how much custom code you added, how many extensions you installed (and whether they still exist or have a version that runs on the newest cart), how many products and database records you have (especially given some of the table changes that have occurred).
If you want a second opinion on your site, PM me and I'll take a look for you.
- Mel
Sent from my iPad using Tapatalk
http://online.enterpriseconsulting.com.au
Site with OpenCart extensions & code downloads, many new extensions coming soon!
Follow us on twitter for more updates
Users browsing this forum: No registered users and 7 guests