- Posts: 7
 - Thank you received: 1
 
        
                add SKU to product page...
            
    - funtours funtours
 - 
            
Topic Author
 - Offline
 - Fresh Boarder
 - 
            
         
        Less
        More
        
            
    
        
            
            13 years 7 months ago        #899
    by funtours funtours
    
    
            
            
            
            
                                
                            
                    
    
        add SKU to product page... was created by funtours funtours            
    
        hi I buy the OT KID (very nice).
I need to add the Product SKU to the product page how can I do it? thanks
    I need to add the Product SKU to the product page how can I do it? thanks
        The following user(s) said Thank You: makcim makcimov     
            Please Log in or Create an account to join the conversation.
- funtours funtours
 - 
            
Topic Author
 - Offline
 - Fresh Boarder
 - 
            
         
        Less
        More
        
            
    
        - Posts: 7
 - Thank you received: 1
 
            
            13 years 5 months ago        #1233
    by funtours funtours
    
        
 please help    
    
            
            
            
            
            
                                
                            
                    
    
        Replied by funtours funtours on topic Re: add SKU to product page...            
    Please Log in or Create an account to join the conversation.
- Linh Robert
 - 
            
 - Offline
 - Banned
 - 
            
         
        Less
        More
        
            
    
        - Posts: 908
 - Thank you received: 568
 
            
            13 years 5 months ago     -  13 years 5 months ago    #1234
    by Linh Robert
    
            
If you need to send us FTP access / host access, administrator access or any private information:
services(at)omegatheme(dot)com or drop a ticket www.omegatheme.com/member/
    
    
            
            
            
            
                                
                            
                    
    
        Replied by Linh Robert on topic Re: add SKU to product page...            
    
        Hi,
sorry I forgot you so long
You can edit file /templates/ot_kid/html/com_virtuemart/productdetails/default.php and find the place where you want to show SKU, for example we put the SKU above the price:
then we find this
and put the code to show the SKU, as this:
Thanks for using our products!
            sorry I forgot you so long
You can edit file /templates/ot_kid/html/com_virtuemart/productdetails/default.php and find the place where you want to show SKU, for example we put the SKU above the price:
then we find this
Code:
// Product Price
if ($this->show_prices and (empty($this->product->images[0]) or $this->product->images[0]->file_is_downloadable == 0)) {
	echo $this->loadTemplate('showprices');
}
Code:
// Product SKU
echo '<span class="product-sku">' . $this->product->product_sku . '</span>';
// Product Price
if ($this->show_prices and (empty($this->product->images[0]) or $this->product->images[0]->file_is_downloadable == 0)) {
	echo $this->loadTemplate('showprices');
}
Thanks for using our products!
If you need to send us FTP access / host access, administrator access or any private information:
services(at)omegatheme(dot)com or drop a ticket www.omegatheme.com/member/
        Last edit: 13 years 5 months ago  by Linh Robert.            
            Please Log in or Create an account to join the conversation.
- funtours funtours
 - 
            
Topic Author
 - Offline
 - Fresh Boarder
 - 
            
         
        Less
        More
        
            
    
        - Posts: 7
 - Thank you received: 1
 
            
            13 years 5 months ago     -  13 years 5 months ago    #1236
    by funtours funtours
    
    
            
            
            
            
                                
                            
                    
    
        Replied by funtours funtours on topic Re: add SKU to product page...            
    
        Thanks for the help.
I tried to edit but nothing happend...
Are you sure that this is the code?
EDIT-
I edit the backup file sorry my mistake...its work fine now many Thanks.
geart site, great templates, great prices, great support.
    
    I tried to edit but nothing happend...
Are you sure that this is the code?
EDIT-
I edit the backup file sorry my mistake...its work fine now many Thanks.
geart site, great templates, great prices, great support.
        Last edit: 13 years 5 months ago  by funtours funtours.            
            Please Log in or Create an account to join the conversation.
        Time to create page: 0.194 seconds    
