Post by cslanka » Mon Jun 09, 2014 3:40 pm

Hi, Good day to you all. Is it possible to remove unwanted fields in open cart? Like SKU: UPC: EAN: JAN: ISBN: MPN any help appreciated.

Thank You.

Newbie

Posts

Joined
Fri Mar 07, 2014 1:34 pm

Post by qahar » Tue Jun 10, 2014 12:46 am

If you remove (delete) them, you will get an error during save the page.

The save approach is to remove the row field but keep the input and change them from input text to hidden.

Code: Select all

// OpenCart product
<div id="tab-data">
    <table>
        <tr>...</td>
        <tr>
            <td>SKU:</td>
            <td><input type="text" name="sku" value=""></td>
        </tr>
        <tr>...</td>
    </table>
</div>

// Modified
<div id="tab-data">
    <input type="hidden" name="sku" value="">

    <table>
        <tr>...</td>
        <tr>...</td>
    </table>
</div> 
You can't see the SKU and it value will always empty

User avatar
Expert Member

Posts

Joined
Tue Jun 29, 2010 10:24 pm
Location - Indonesia

Post by sunsys » Sun Feb 22, 2015 11:37 pm

@qahar:

Sir please if you can help me in a 2 small issues,
I would like to remove the mandatory or required options in admin>settings>general tab for all fields ie: *Store Name, *Store Owner, *Address, *E-Mail and *Telephone and also from >Store tab *Title. The (*) required options should be removed in other words the above fields can remain empty.

2nd, Is there anyway that in Layouts(I have read your very informative and detailed explanation on layouts in this forum) a page can be created that will post the chosen content on all pages(when selected of course) something like the word "Site" or even "Full", now we can put any content on one page at a time. I hope you get my point sir.

I have made one layout page(image below) based on your post but it is not working.

Image

Your advice please....TY

Regards,
Sun Systems
Industrial Electronics and Instrumentation


User avatar
Active Member

Posts

Joined
Tue Jan 27, 2015 5:19 am
Who is online

Users browsing this forum: No registered users and 10 guests