X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Hiding SKU (https://forum.x-cart.com/showthread.php?t=51583)

gizmo 01-04-2010 05:28 AM

Re: Hiding SKU
 
Ok.... We know it says what you posted, we have established that, we moved on from that, this is why I mentioned if you read the follow ups since then that is all...

As you posted what it says, your point being?

ARW VISIONS 01-04-2010 05:32 AM

Re: Hiding SKU
 
I have no point sir, carry on.

gizmo 01-04-2010 05:36 AM

Re: Hiding SKU
 
Quote:

Originally Posted by Ashley
I have no point sir, carry on.

OMG....What. LOL, I'm outta this topic..

ARW VISIONS 01-04-2010 05:40 AM

Re: Hiding SKU
 
lol... nothing man. I was just saying that the verbiage seems ok to me. I don't personally see a need to add any text that says won't show on product page. That's it.

cflsystems 01-04-2010 05:40 AM

Re: Hiding SKU
 
That's one of the things I love about xcart - its open source. You can go in any file and change it the way you want it to be. Lots of customers, lots of stores and each one has different requirements. It's not possible to have everything out-of-the-box ready for every user. It is hard to make everything a setting with on/off option. I agree that xcart can still be improve in many areas but just like every other everyday task - if you know it you do it, if you don't you ask someone who knows or hire someone to do it for you and you move on. Makes life easier :)

gizmo 01-04-2010 05:48 AM

Re: Hiding SKU
 
True, and that's why the modders come into there own...

Babydoll 01-04-2010 01:50 PM

Re: Hiding SKU
 
Quote:

Originally Posted by cflsystems
The tick box in admin hides it from products list pages not from product details page. To hide it from there you have to edit product_details.tpl and comment out the code. It is not a bug, always been like this


Does anyone know how to do this?

cflsystems 01-04-2010 02:34 PM

Re: Hiding SKU
 
In skin1/customer/main/product_details.tpl find this code
Code:

    <tr>
      <td class="property-name">{$lng.lbl_sku}</td>
      <td class="property-value" id="product_code" colspan="2">{$product.productcode|escape}</td>
    </tr>

and comment it out like this
Code:

{*    <tr>
      <td class="property-name">{$lng.lbl_sku}</td>
      <td class="property-value" id="product_code" colspan="2">{$product.productcode|escape}</td>
    </tr>
 *}


Babydoll 01-04-2010 03:23 PM

Re: Hiding SKU
 
I got it! Thanks :)

gizmo 01-09-2010 03:38 PM

Re: Hiding SKU
 
Also to hide from showing advance search > skin1/customer/Main/search_result.tpl

No point having it there at all..........
Around line 90/93 in 4.3.0 Gold

Code:

{*<label>
                <input type="checkbox" id="posted_data_by_sku" name="posted_data[by_sku]"{if $is_empty_search_prefilled || $search_prefilled.by_sku} checked="checked"{/if} />
                {$lng.lbl_sku}
              </label>*}


I have commented it out in Orange (That's what's added, nothing removed)


All times are GMT -8. The time now is 05:15 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.