normal Necesito agregar el SKU en la posición donde se muestra el precio OT Kitchen

More
11 years 4 days 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

Please Log in or Create an account to join the conversation.

More

Notice: Undefined variable: end_tag_params in /home/omegatheme/public_html/libraries/kunena/External/Nbbc/src/BBCode.php on line 2321

Notice: Undefined variable: end_tag_params in /home/omegatheme/public_html/libraries/kunena/External/Nbbc/src/BBCode.php on line 2321

Notice: Undefined variable: end_tag_params in /home/omegatheme/public_html/libraries/kunena/External/Nbbc/src/BBCode.php on line 2321
11 years 4 days ago - 11 years 2 days ago #4380 by Trung Duong
Hello,

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>
and remember add some css style for it ;)

Regards

Support email: services(at)omegatheme(dot)com


Follow Us to keep updated!

[img


[img


[img]...[/img]

[img]...[/img]

[img]...[/img]
Last edit: 11 years 2 days ago by Trung Duong. Reason: changed code

Please Log in or Create an account to join the conversation.

More
11 years 3 days ago #4398 by Mayca Food Service
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.

More
11 years 3 days ago #4399 by Mayca Food Service
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.

More
10 years 10 months ago #4705 by Mayca Food Service
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.

More
10 years 10 months ago #4723 by Trung Duong
Please email me your site ftp info so i can help you.

Regards

Support email: services(at)omegatheme(dot)com


Follow Us to keep updated!

[img


[img


[img]...[/img]

[img]...[/img]

[img]...[/img]

Please Log in or Create an account to join the conversation.

Time to create page: 0.245 seconds

About Growth

Innovative tech for eCommerce growth

Contact Info

Head: No. 3, 175/55 Lane, Lac Long Quan St., Nghia Do Ward, Cau Giay District, Hanoi City, Vietnam