Needs work
Project:
Commerce Ajax Add to Cart
Version:
7.x-2.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
7 Dec 2014 at 01:26 UTC
Updated:
27 Sep 2015 at 07:59 UTC
Jump to comment: Most recent
Comments
Comment #1
subhojit777Comment #2
subhojit777In any case you can do this by overriding the templates.
Comment #3
anikitin35 commentedHow I can print a product title as link on the same product?
Comment #4
subhojit777You will find this code in
dc_ajax_add_cart.modulearray('data' => $product->title, 'class' => array('name')),this is the code that generates product title. You can use this code in your custom theme template preprocess, and override it there, and then use thise code to generate the cart markup:Comment #5
subhojit777I am leaving it opened because I would like to add this in the module itself. Patches are welcome.
Comment #6
subhojit777Comment #7
Samaella commentedI used to query the database:
Comment #8
subhojit777Comment #9
subhojit777