Page 3 of 3

Re: @tik You Save 1.0

Posted: Fri Jul 11, 2014 10:02 pm
by raj79
is this work for latest version ?

Re: @tik You Save 1.0

Posted: Tue Feb 24, 2015 5:12 pm
by robinsharma
I did all the mods on product.php, product.tpl & language file also...

But i am getting error on normal product
Notice: Undefined variable: yousave in /var/www/html/robin/vqmod/vqcache/vq2-catalog_view_theme_journal2_template_product_product.tpl on line 187Notice: Undefined variable: yousavepercent in /var/www/html/robin/vqmod/vqcache/vq2-catalog_view_theme_journal2_template_product_product.tpl on line 187 (%)

Please help me in resolving this

Re: @tik You Save 1.0

Posted: Wed Apr 01, 2015 4:08 pm
by OC2PS
I would like to donate this code to OpenCart core as it is useful for many people.

I have already submitted a pull request (meaning submitted the code to core team).

Please vote at http://opencart.uservoice.com/forums/52 ... e-you-save to encourage the core team to include my code (this feature) in OpenCart core.

Re: @tik You Save 1.0

Posted: Sun Apr 05, 2015 9:39 pm
by eralus

Code: Select all

Styling

You can change what the savings notice looks like by adding you-save class to your stylesheet.css e.g.
CODE: SELECT ALL
.you-save {color:red;}
i tried to change the styling however the color of my font still the same
can someone check what i done is correct?

i put it at the bottom of the stylesheet as below

}
input.green_button {
margin: 0;
border: 0;
height: 24px;
padding: 0px 12px 0px 12px;
}
a.green_button:hover, input.green_button:hover
background: #33BB00;
}
.you-save {color:red;}


i even chagne to red to #33BB00 but result still same

Re: @tik You Save 1.0

Posted: Sun Apr 05, 2015 9:55 pm
by OC2PS
eralus wrote:

Code: Select all

a.green_button:hover, input.green_button:hover 
background: #33BB00;
}
This seems problematic. There is no opening of the style block.

Re: @tik You Save 1.0

Posted: Sun Apr 05, 2015 10:04 pm
by eralus
OC2PS wrote:
eralus wrote:

Code: Select all

a.green_button:hover, input.green_button:hover 
background: #33BB00;
}
This seems problematic. There is no opening of the style block.
this modification done by others
i have zero knowledge for this style block
really appreciate if u can tell me whats wrong
anyway i still unable to change the color of the font

Re: @tik You Save 1.0

Posted: Thu May 30, 2019 7:48 pm
by xxvirusxx
For 3.0.2.0