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

TOPIC: 2 issues

2 issues 11 years 4 months ago #1457

Hi there,

I was wondering if these 2 things can be done.

1. In the Virtuemart product description/detail page there is a button that says "Click to Read More" with a + sign and one clicks on that button and it opens up to show all the text.
Can I do away with this thing and have all the text shown at once?

2. On the cart page one has to select shipping and payment option from the choices given by the vendor. I think this works on ajax functionality. Is it possible to show the user all the options in shipping and payment without the user needing to click on the Select Shipping and Select Payment buttons? This way we avoid one extra step of clicking I hope I am clear.

Deepak
The administrator has disabled public write access.

2 issues 11 years 4 months ago #1463

Hi,

To disable the 1 option; open this PHP file:
ROOT/templates/<yourjoomlatemplate>/html/com_virtuemart/productdetails/flexv2.php

and find this HTML code in this PHP file;
<div class="more-less">
    <div class="more-block">
    <p>
               <?php // Product Description
	if (!empty($this->product->product_desc)) { ?>
			<div class="FlexibleProductDetailV2description">
	 		<?php echo $this->product->product_desc; ?>
			</div>
	<?php } // Product Description END ?>
           </p>
    </div>
	</div>     

and change it with this:
<p>
               <?php // Product Description
	if (!empty($this->product->product_desc)) { ?>
			<div class="FlexibleProductDetailV2description">
	 		<?php echo $this->product->product_desc; ?>
			</div>
	<?php } // Product Description END ?>
           </p>

Basically remove the 2 DIV tag from there, but make sure to delete both beginning <div> .... and </div> otherwise you will destroy the layout entirely.

About the other question, no it is not possible, we tried what you said but it sometimes fails to load the AJAX function. So this is the most appropriate way to handle it.

Regards.
Forum Support
The administrator has disabled public write access.

2 issues 11 years 4 months ago #1617

Ok----about the 2nd point.

I saw it here - XXXXXX/virtuemart-templates/index.php/virtuemart-2-example/cart
I thought there might be a simple way to do this.

Deepak
Last Edit: 11 years 4 months ago by Support.
The administrator has disabled public write access.

2 issues 11 years 4 months ago #1628

That website uses a different structure.
It is completely different than what we have. (in our codes, the shipping/payment options are loaded by AJAX; once the "select shipping/payment" buttons are clicked, but they are fixed in linelab.com's page and AJAX is used only when the "RADIO" buttons are selected.

This is how we designed and structured the shipping cart, and that is how linelab designed and structured the shopping cart.

In our codes... no it is not possible, but if you are experienced enough, you can change the classic "SUBMIT" function to AJAX, so buyers can select the shipping/payment options just by clicking the RADIO check-box, (without pressing the SUBMIT button). We couldn't make it, if you can.. then go for it. But if you are asking, if there is an easy way to do it, no. there isn't. Otherwise we would do it that way though.

Regards.
The administrator has disabled public write access.
Time to create page: 0.116 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