- Posts: 11
- Thank you received: 0
Necesito agregar el SKU en la posición donde se muestra el precio OT Kitchen
- Mayca Food Service
-
Topic Author
- Offline
- Fresh Boarder
-
Less
More
12 years 1 month ago #4371
by Mayca Food Service
Hola a tod@s... necesito hacer algo sencillo, pero no se como. Necesito poner en la posición donde normalmente va el precio en el listado de productos del template OT Kitchen, para que en lugar aparezca el SKU number correspondiente.
Si me pueden ayudar alguien por favor, muchas gracias ¡
Hello to everyone s ... I need to do something simple, but not how. I need to put in the position where the price usually goes in the product listing template OT Kitchen, so instead display the SKU number for.
If someone can help me please, thank you very much
Necesito agregar el SKU en la posición donde se muestra el precio OT Kitchen was created by Mayca Food Service
Hola a tod@s... necesito hacer algo sencillo, pero no se como. Necesito poner en la posición donde normalmente va el precio en el listado de productos del template OT Kitchen, para que en lugar aparezca el SKU number correspondiente.
Si me pueden ayudar alguien por favor, muchas gracias ¡
Hello to everyone s ... I need to do something simple, but not how. I need to put in the position where the price usually goes in the product listing template OT Kitchen, so instead display the SKU number for.
If someone can help me please, thank you very much
Please Log in or Create an account to join the conversation.
- Trung Duong
-
- Offline
- Administrator
-
Less
More
- Posts: 2284
- Thank you received: 998
Notice: Undefined variable: end_tag_params in /ssd/home/omega_web/public_html/libraries/kunena/External/Nbbc/src/BBCode.php on line 2321
Notice: Undefined variable: end_tag_params in /ssd/home/omega_web/public_html/libraries/kunena/External/Nbbc/src/BBCode.php on line 2321
Notice: Undefined variable: end_tag_params in /ssd/home/omega_web/public_html/libraries/kunena/External/Nbbc/src/BBCode.php on line 2321
12 years 1 month ago - 12 years 1 month ago #4380 by Trung Duong
Replied by Trung Duong on topic Re: Necesito agregar el SKU en la posición donde se muestra el precio OT Kitchen
Hello,
You can edit file default.php in: templates/ot_kitchen/html/com_virtuemart/category
Find this code below:
and replacement with code
and remember add some css style for it 
Regards
You can edit file default.php in: templates/ot_kitchen/html/com_virtuemart/category
Find this code below:
Code:
<div class="product-price" id="productPrice<?php echo $product->virtuemart_product_id ?>">
<?php
if ($this->show_prices == '1') {
if( $product->product_unit && VmConfig::get('vm_price_show_packaging_pricelabel')) {
echo "<strong>". JText::_('COM_VIRTUEMART_CART_PRICE_PER_UNIT').' ('.$product->product_unit."):</strong>";
}
if(empty($product->prices) and VmConfig::get('askprice',1) and empty($product->images[0]->file_is_downloadable) ){
echo JText::_('COM_VIRTUEMART_PRODUCT_ASKPRICE');
}
//todo add config settings
if( $this->showBasePrice){
echo $this->currency->createPriceDiv('basePrice','COM_VIRTUEMART_PRODUCT_BASEPRICE',$product->prices);
echo $this->currency->createPriceDiv('basePriceVariant','COM_VIRTUEMART_PRODUCT_BASEPRICE_VARIANT',$product->prices);
}
echo $this->currency->createPriceDiv('variantModification','COM_VIRTUEMART_PRODUCT_VARIANT_MOD',$product->prices);
echo $this->currency->createPriceDiv('basePriceWithTax','COM_VIRTUEMART_PRODUCT_BASEPRICE_WITHTAX',$product->prices);
echo $this->currency->createPriceDiv('discountedPriceWithoutTax','COM_VIRTUEMART_PRODUCT_DISCOUNTED_PRICE',$product->prices);
echo $this->currency->createPriceDiv('salesPriceWithDiscount','COM_VIRTUEMART_PRODUCT_SALESPRICE_WITH_DISCOUNT',$product->prices);
echo $this->currency->createPriceDiv('salesPrice','COM_VIRTUEMART_PRODUCT_SALESPRICE',$product->prices);
echo $this->currency->createPriceDiv('priceWithoutTax','COM_VIRTUEMART_PRODUCT_SALESPRICE_WITHOUT_TAX',$product->prices);
echo $this->currency->createPriceDiv('discountAmount','COM_VIRTUEMART_PRODUCT_DISCOUNT_AMOUNT',$product->prices);
echo $this->currency->createPriceDiv('taxAmount','COM_VIRTUEMART_PRODUCT_TAX_AMOUNT',$product->prices);
} ?>
</div>
and replacement with code
Code:
<div class="product-mf" id="productPrice<?php echo $product->virtuemart_product_id ?>">
<?php echo $product->product_sku; ?>
</div>

Regards
Support email: services(at)omegatheme(dot)com
Follow Us to keep updated!


[img]...[/img]
[img]...[/img]
[img]...[/img]
Last edit: 12 years 1 month ago by Trung Duong. Reason: changed code
Please Log in or Create an account to join the conversation.
- Mayca Food Service
-
Topic Author
- Offline
- Fresh Boarder
-
Less
More
- Posts: 11
- Thank you received: 0
12 years 1 month ago #4398
by Mayca Food Service
Replied by Mayca Food Service on topic Re: Necesito agregar el SKU en la posición donde se muestra el precio OT Kitchen
Hi, thanks... I make this change but don´t see nothing, is necessary create a css style for work, because don´t work. Can you help me ¡
Please Log in or Create an account to join the conversation.
- Mayca Food Service
-
Topic Author
- Offline
- Fresh Boarder
-
Less
More
- Posts: 11
- Thank you received: 0
12 years 1 month ago #4399
by Mayca Food Service
Replied by Mayca Food Service on topic Re: Necesito agregar el SKU en la posición donde se muestra el precio OT Kitchen
I have disabled the option to see the price, because is a catalog of products, I don´t need the price, only the SKU number... Thanks again ¡
Please Log in or Create an account to join the conversation.
- Mayca Food Service
-
Topic Author
- Offline
- Fresh Boarder
-
Less
More
- Posts: 11
- Thank you received: 0
11 years 11 months ago #4705
by Mayca Food Service
Replied by Mayca Food Service on topic Re: Necesito agregar el SKU en la posición donde se muestra el precio OT Kitchen
Hello, I try to fix this, but I can´t... Can you help me ?... How much for your time ? I need your services... please ¡¡¡ THANKS ¡
Please Log in or Create an account to join the conversation.
- Trung Duong
-
- Offline
- Administrator
-
Less
More
- Posts: 2284
- Thank you received: 998
11 years 11 months ago #4723
by Trung Duong
Support email: services(at)omegatheme(dot)com
Follow Us to keep updated!
[img]...[/img]
[img]...[/img]
[img]...[/img]
Replied by Trung Duong on topic Re: Necesito agregar el SKU en la posición donde se muestra el precio OT Kitchen
Please email me your site ftp info so i can help you.
Regards
Regards
Support email: services(at)omegatheme(dot)com
Follow Us to keep updated!


[img]...[/img]
[img]...[/img]
[img]...[/img]
Please Log in or Create an account to join the conversation.
Time to create page: 0.199 seconds