Shoppica2 is not working with Customer Account Greeting extension

ThemeBurn SupportForumsOpenCart ThemesShoppica OpenCart ThemeShoppica2 is not working with Customer Account Greeting extension

This topic has been marked as resolved.

Hi there,

Some people say, it’s because “theme builders” don’t respect OC’s standards and so forth, but I like your theme and your support, what can I say?

Shoppica2 is not working with a very simple mod called Customer Account Greeting extension found here: Customer Account Greeting

I’ve tried everything to my knowledge, but it wasn’t enough.

What peace of code could I add to the vQmod xml file to make it work?

Thank you so much,

Jose

  • This reply was modified 3687 days ago by  Jose.
  • This reply was modified 3687 days ago by  Jose.
  • This reply was modified 3687 days ago by  Jose.
  • This reply was modified 3687 days ago by  Jose.
  • This reply was modified 3687 days ago by  Jose.
  • This reply was modified 3687 days ago by  Jose.
  • This reply was modified 3687 days ago by  Jose.
  • This reply was modified 3687 days ago by  Jose.
  • This reply was modified 3687 days ago by  Jose.
 Jose
March 15, 2014 at 2:35 am #31034

Hello Jose,

Sorry for the delay!

Can you please attach the plugin (in a zip archive), so we can check?

We will need the website url, admin and ftp access as well.

You can use hidepost to share private information with the support staff.

Thanks,
ThemeBurn team

March 27, 2014 at 11:33 am #31228

Hi Themeburn,

Indeed you took a lot of time replying but no harm done and fortunately I found a solution.

This is a module made by “Best Byte” and modified by “Samdz”.
I’m sharing this mod with everyone with a similar problem.

Depending the language and themes It may need some work.

Thank for all the help you have been providing

  • This reply was modified 3674 days ago by  Jose.
 Jose
March 28, 2014 at 1:26 pm #31250

I don’t know why the attachment doesn’t show but here is the complete code:


<modification>
    <id>Best-Byte Customer Account Greeting</id>
      <version>1.0</version>
       <vqmver>2.1.5</vqmver>
       <author>www.best-byte.com - Modify for Shoppica by Samdz (issamoc@gmail.com)</author>    
     <file name="catalog/controller/account/account.php">
    <operation>
      <search position="after"><![CDATA[
            $this->data['newsletter'] = $this->url->link('account/newsletter', '', 'SSL');
            ]]></search>
      <add><![CDATA[
        $this->load->model('account/customer');
        $customer_info = $this->model_account_customer->getCustomer($this->customer->getId());
        $this->data['text_greeting'] = sprintf($this->language->get('text_greeting'), $customer_info['firstname']);
      ]]></add>
  </operation>
</file>    
<file name="catalog/language/*/account/account.php">
    <operation>
      <search position="after"><![CDATA[
            $_['text_newsletter']
            ]]></search>
      <add><![CDATA[
            $_['text_greeting']  = 'Greetings <strong>%s</strong>, welcome to our store.';
      ]]></add>
  </operation>
</file>  
<file name="catalog/view/theme/*/template/account/account.tpl">
    <operation>
      <search position="before"><![CDATA[
            <div class="s_3col_wrap clearfix">
            ]]></search>
      <add><![CDATA[
            <br /><p id="greeting" style="text-align: left; font-size: 14px;"><?php echo $text_greeting; ?></p><br />  
      ]]></add>
  </operation>
</file>  
</modification>

 Jose
March 28, 2014 at 1:31 pm #31252

It’s actually a package with extensions modified to work with Shoppica2, so…
I decided to share the link to the Author.
Hopefully it will help many people.

http://www.opencart.com/index.php?route=extension/extension/info&extension_id=10404&filter_search=shoppica2&filter_license=0

Jose

 Jose
March 29, 2014 at 2:09 am #31280

Thanks for the share, Jose :)

BR,
ThemeBurn team

April 7, 2014 at 6:09 pm #31404
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.