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

TOPIC: Product with Steps doesn't work well

Product with Steps doesn't work well 9 years 3 months ago #11812

Hi

When a product created with steps (step_order_level) the button doesn't work well
First step (error in code this->product instead of this->
Plus button add only 1 by 1 and it is not adding step by step

Could you send me the corrected php file ?

Example www.soluprotech.com/index.php/catalogue-produits/epi-equipement-de-protection-individuelle-equipement-de-securite/protection-auditive/bouchons-d-oreille-3m/bouchons-d-oreille-preformes-3m/bouchons-doreille-pr%C3%A9form%C3%A9s-3m-bouchons-doreille-e-a-r-ultrafit-detail#cart

Thanks in advance
The administrator has disabled public write access.

Product with Steps doesn't work well 9 years 3 months ago #11834

Hi,

This problem has already been reported and fixed already.
But first you should tell me what system configurations you are using, J2.5+VM2.6 or J3.3+VM3.0 ?

Regards.
The administrator has disabled public write access.

Product with Steps doesn't work well 9 years 3 months ago #11862

J2.5+VM2.6 in production
J3. in the future

Could you send me the patch ?
The administrator has disabled public write access.

Product with Steps doesn't work well 9 years 3 months ago #11891

Hi,

To fix this problem:

Open this PHP file:
/templates/flexilbe_sportmart/html/com_virtuemart/productdetails/default_addtocart.php

1- after this line:
defined ('_JEXEC') or die('Restricted access');

include these lines:
if (isset($this->product->step_order_level))
	$step=$this->product->step_order_level;
else
	$step=1;
if($step==0)
	$step=1;
$alert=JText::sprintf ('COM_VIRTUEMART_WRONG_AMOUNT_ADDED', $step);

2- after this line:
<form method="post" class="product js-recalculate" target="_parent" action="<?php echo JRoute::_ ('index.php'); ?>">

include this line:
<input name="quantity" type="hidden" value="<?php echo $step ?>" />

then you should be good to go.

Regards.
The administrator has disabled public write access.

Product with Steps doesn't work well 9 years 3 months ago #11916

Thank you for your reply.

We pay a new subscription to have the package up to date but the the above corrected patch is not included in your last release for cleanmart package.
We purchased the 9th of december, could you refund a part of the subscription because it an upgrade of the last one and not a new ones ?

Best Regards
The administrator has disabled public write access.

Product with Steps doesn't work well 9 years 3 months ago #11918

In Joomla v3, that doesn't seem to correct to add to cart function.
Could you have a look ?

Regards
The administrator has disabled public write access.

Product with Steps doesn't work well 9 years 3 months ago #11963

Hi,

This problem doesn't happen with VM3.0.4. It was buggy on VM3.0.2 but this has been fixed with VM3.0.4 (it wasn't our template's fault, it was Virtuemart's fault)

If you upgrade your Virtuemart to VM3.0.4, the problem with STEP won't happen happen anymore.

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