A A A
Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 4 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
How to add "PRODUCT CODE"
February 2, 2015
7:42 pm
Avatar
Santiago, Chile
Member
Members
Forum Posts: 70
Member Since:
April 24, 2012
sp_UserOfflineSmall Offline

Hello markettheme comunity,

First of all, my webpage: http://www.mundoreballing.cl

I want to add new info for each product -> "CODE PRODUCT"

I hope it can be showed in the square where shows "ADD TO CART", "QUANTITY AVAILABLE", etc.

Btw, I do not use the attributes "color", "size", "shipping cost". Perhaps i can rename one of these attributes and put "Product Code". 

I appreciate your help.

Many thanks,

Felipe Norambuena

http://www.mundoreballing.cl

February 2, 2015
9:36 pm
Avatar
Admin
Forum Posts: 5850
Member Since:
March 16, 2008
sp_UserOfflineSmall Offline

Hi Felipe,

I think your own suggestion would be the easiest.

In the "language" folder, you will just need open the appropriate language file for editing.  (eg.   English.php)

(You can edit the file through the Wordpress Theme editor tool located under the "Appearance" menu tab.)

Just do a search for these lines, and replace the Text that shows.

First, find this line:

define('mkt_THEME_SINGLE_LABEL_COLOR', 'Color');

and change it to something like:

define('mkt_THEME_SINGLE_LABEL_COLOR', 'Product Code');

 

then, find this line:

define('mkt_ADMIN_ADD_PRODUCT_COLORS', 'Colors (If Any)');

and change it to something like:

define('mkt_ADMIN_ADD_PRODUCT_COLORS', 'Product Code (If Any)');

then, find this line:

 

define('mkt_ADMIN_ADD_PRODUCT_COLORS_EXAMPLE1', '<span class="mpm_infoblue">Separate colors with a comma.</span><br />For Example: <b>Red,White,Blue</b>');

and change it to something like:

define('mkt_ADMIN_ADD_PRODUCT_COLORS_EXAMPLE1', '<span class="mpm_infoblue">Separate product codes with a comma.</span><br />For Example: <b>Red,White,Blue</b>');

 

Save the file, and that should do it.

March 3, 2015
2:38 pm
Avatar
Santiago, Chile
Member
Members
Forum Posts: 70
Member Since:
April 24, 2012
sp_UserOfflineSmall Offline

Perfect, but i have problem.

I need to show "Código Producto" but instead i see "C?digo Producto".

I think its cause of "TILDE" or "ACCENT" of the word "código".

How can i solve this?

Thanks

March 3, 2015
6:52 pm
Avatar
Admin
Forum Posts: 5850
Member Since:
March 16, 2008
sp_UserOfflineSmall Offline

You will have to replace the Tilde letter ó with the special character code which is: 

 

#243;

BUT... with an ampersand before the hash tag.   &

 

The browser will automatically convert this character code number into the ó

If I put the ampersand in here before the number, you wouldn't see the character code.  You would only see the " ó "

 

In other words, put in this character code:

 

& # 2 4 3 ;

 

But, without all the spaces in between.

 

I hope this helps.

March 3, 2015
8:08 pm
Avatar
Santiago, Chile
Member
Members
Forum Posts: 70
Member Since:
April 24, 2012
sp_UserOfflineSmall Offline

Many thanks :D

March 4, 2015
12:35 am
Avatar
Santiago, Chile
Member
Members
Forum Posts: 70
Member Since:
April 24, 2012
sp_UserOfflineSmall Offline

By the way, i need the "Product Code" shows without the "arrow" or the possibility to select, cause there is only one code per product.

What i have to modify (i change "COLOR" on english.php as you recommend me).

Thanks again :)

March 4, 2015
3:51 pm
Avatar
Santiago, Chile
Member
Members
Forum Posts: 70
Member Since:
April 24, 2012
sp_UserOfflineSmall Offline

Some tip ?

Thank

March 4, 2015
6:55 pm
Avatar
Admin
Forum Posts: 5850
Member Since:
March 16, 2008
sp_UserOfflineSmall Offline

Yes, if you will not be using the "Color" option, then you can just use that for your Product Code field. You would just change the label so instead of displaying the word "Color", it would display something like "Product Code".

Then, in the Administration page for the product, as long as you only enter 1 value for the Product Code field, the user will only be shown one value -- and will not have the ability to select anything different.

This post may help. It talks about modifying the "Size" option attribute, however you can use the same process for altering the "Color" option attribute as well.

http://www.markettheme.com/for.....thing-else

I hope this helps.

March 10, 2015
7:50 pm
Avatar
Santiago, Chile
Member
Members
Forum Posts: 70
Member Since:
April 24, 2012
sp_UserOfflineSmall Offline

I mean the arrow still appear at right side of "Código producto".

You can see the "Código Producto" in this link -> http://www.mundoreballing.cl/e.....in-700w/ 

As you can see in the attached picture, the arrow still there. I want to remove the "arrow" (at the right side of the "Código Producto").

Can i?

Many thanks,

FelipeArrow-.jpgImage Enlarger

sp_PlupAttachments Attachments
March 11, 2015
5:53 pm
Avatar
Admin
Forum Posts: 5850
Member Since:
March 16, 2008
sp_UserOfflineSmall Offline

That can't be removed without altering the code behind the pages.

Right now, your customer cannot change the option to anything else -- so it's not going to harm anything as it is.

Forum Timezone: UTC 0

Most Users Ever Online: 139

Currently Online:
5 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

icy1: 2636

wreed06: 175

laurie390: 169

boutiqueelliette: 156

StitchTek Services, LLC: 144

yiorgos: 127

Member Stats:

Guest Posters: 457

Members: 2461

Moderators: 1

Admins: 1

Forum Stats:

Groups: 1

Forums: 4

Topics: 4073

Posts: 18950

Newest Members: Yaneura, dogcheez, markeprice, rash193, davidf

Moderators: Market Admin: 5850

Administrators: Market Admin: 5850

Market takes ecommerce to the next level with an easy to use, quick setup platform. Learn more or take the tour.