Jump to content
Sign in to follow this  
ultraxa

ajouter bouton "ajouter au panier" dans l'onglet accessoires

Recommended Posts

bonjour

 

comment peut on ajouter un bouton "ajouter au panier " sous les photos des produits accessoire des produits

 

j'ai mis tt simplement

<p{if (!$allow_oosp && $product->quantity <= 0) OR !$product->available_for_order OR (isset($restricted_country_mode) AND $restricted_country_mode) OR $PS_CATALOG_MODE} style="display: none;"{/if} id="add_to_cart">
		 <input type="submit" name="Submit" value="{l s='Add to cart'}" class="add_to_cart" />
	    </p>

 

mais evidemment quna dje clique dessus ca ma'joute le produit dans le panier et non l'accessoires

il faudrait pouvoir recupere l'id du produit de l'accessoire

 

mais je ne vois pas trop comment faire

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More