Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Virtuemart Template - PureMart (SKU# FLEX-00010)

TOPIC: add text under the price

add text under the price 11 years 1 week ago #4292

hi, 2 questions please:
1) how can i write a message under the price, e.g "including tax" or "anything else"?
2) how can i delete the "price without tax" with the line through on the checkout (see pic. 11)
thanks!

Attachment 11_2013-04-19.png not found

The topic has been locked.

add text under the price 11 years 1 week ago #4295

Last Edit: 11 years 1 week ago by giannis thanos. Reason: didn't submit a link
The topic has been locked.

add text under the price 11 years 6 days ago #4308

in the template file templates/your_template/html/com_virtuemart/cart/default_pricelist.php
The topic has been locked.

add text under the price 11 years 6 days ago #4312

could you be a little bit more specific?
i'm not an expert you know :)
The topic has been locked.

add text under the price 11 years 6 days ago #4315

just look in that file and experiment with adding some text till you find the position you want...
check on the frontend until you find the position..

the price stuff starts at line 278

to get rid of the original price comment out line ? 281 but this also depends on your VM price config
The topic has been locked.

add text under the price 11 years 5 days ago #4319

<td colspan="3" valign="top" class="newshoppingcartTITLE" ><?php echo JHTML::link($prow->url, $prow->product_name).$prow->customfields; ?> <Br/> <span style="font-size:12px; font-style:italic;">  <?php echo  JText::_('COM_VIRTUEMART_ORDER_PRINT_SKU') ?>: <?php echo $prow->product_sku ?> </span> </td>
    <td class="newshoppingcartPRICE" valign="top">
                    <?php
				if (VmConfig::get('checkout_show_origprice',1) && !empty($this->cart->pricesUnformatted[$pkey]['basePriceWithTax']) && $this->cart->pricesUnformatted[$pkey]['basePriceWithTax'] != $this->cart->pricesUnformatted[$pkey]['salesPrice'] ) {
					 echo '< span class="line-through">'.$this->currencyDisplay->createPriceDiv('basePriceWithTax','COM_VIRTUEMART_PRODUCT_BASEPRICE_WITHTAX', $this->cart->pricesUnformatted[$pkey],false,false,$prow->quantity) .'</span>' ;
				}
				if (VmConfig::get('checkout_show_origprice',1) && !empty($this->cart->pricesUnformatted[$pkey]['priceWithoutTax']) && $this->cart->pricesUnformatted[$pkey]['priceWithoutTax'] != $this->cart->pricesUnformatted[$pkey]['salesPrice'] ) {
					echo '<span class="line-through">'.$this->currencyDisplay->createPriceDiv('priceWithoutTax','COM_VIRTUEMART_PRODUCT_SALESPRICE_WITHOUT_TAX', $this->cart->pricesUnformatted[$pkey],false,false,$prow->quantity) .'</span>' ;
				}
				echo $this->currencyDisplay->createPriceDiv('salesPrice','COM_VIRTUEMART_PRODUCT_SALESPRICE', $this->cart->pricesUnformatted[$pkey],false,false,$prow->quantity) ?>
 
                <?php 
echo $this->currencyDisplay->createPriceDiv('discountAmount','COM_VIRTUEMART_PRODUCT_DISCOUNT_AMOUNT',  $this->cart->pricesUnformatted[$pkey],false,false,$prow->quantity);
echo $this->currencyDisplay->createPriceDiv('taxAmount','COM_VIRTUEMART_PRODUCT_TAX_AMOUNT', $this->cart->pricesUnformatted[$pkey],false,false,$prow->quantity); 
echo $this->currencyDisplay->createPriceDiv ('variantModification', 'COM_VIRTUEMART_PRODUCT_VARIANT_MOD', $this->cart->pricesUnformatted[$pkey],false,false,$prow->quantity); 
 
 
				?>
 
                    </td>
  </tr>

hi again, so how could i do it please? i try to add some text but does it need php knowledge?

Attachment 11_2013-04-21.png not found

The topic has been locked.

add text under the price 11 years 5 days ago #4321

Have you tried putting some text just before the closing </td> ??
The topic has been locked.

add text under the price 11 years 4 days ago #4332

yes i have but nothing happens.
The topic has been locked.

add text under the price 11 years 4 days ago #4333

by the way i have sent you my ftp account regarding topic
http://www.flexiblewebdesign.com/index.php?option=com_kunena&view=topic&catid=18&id=927&Itemid=234
so if you want you can have a look.
thanks a lot
The topic has been locked.

add text under the price 11 years 4 days ago #4335

that's the bosses email - I don't have access to it..

send your details to This email address is being protected from spambots. You need JavaScript enabled to view it.
The topic has been locked.

add text under the price 11 years 2 days ago #4384

Done - exactly where I said..

see templates/rt_maelstrom_j15/html/com_virtuemart/cart/default_pricelist.php line 285
Attachments:
The topic has been locked.

add text under the price 11 years 2 days ago #4386

ok, it worked.
templates/rt_maelstrom_j15/html/com_virtuemart/cart/default_pricelist.php line 285 is for the checkout process right?
in order to write a text in the product details page in which line should i go to?
thanks a lot!

Attachment 11_2013-04-24.png not found

The topic has been locked.

add text under the price 11 years 2 days ago #4394

exactly the same logic - find the div and write some txt..

templates/rt_maelstrom_j15/html/com_virtuemart/productdetails/default.php line 452
The topic has been locked.

add text under the price 11 years 1 day ago #4405

ok thanks a lot.and one last thing, can you give me a solution on topic www.flexiblewebdesign.com/index.php?option=com_kunena&view=topic&catid=18&id=927&Itemid=234 because i have not recieved any answer yet?
i have emailed you the ftp access.
thank you
The topic has been locked.

add text under the price 11 years 1 day ago #4409

Your dealing with the boss with that one - have reminded him

Topic closed
The topic has been locked.

add text under the price 10 years 11 months ago #4422

Done !
The topic has been locked.
Time to create page: 0.292 seconds

MaterialMart

for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo